|
Mark Nischalke wrote: The code may be unwanted by you, not the OP. I see nothing wrong with this.
Ok the problem is when i am making the reply to op CP hangs up.
|
|
|
|
|
|
hi
i have developed crystal report in ASP.net 2.0.
Everything work fine in local,but why i hosted it display more info required with some login screen.
in my crystal report database fields->set database location->property i saw that my file path is my abc.xsd file path location like,D:/a/abc.xsd. May be for that this report not display in web.
Please help me how to solve the problem.
Thanks
|
|
|
|
|
Hi ,
I am making a website so I want to enable users to purchases any product through visa or Master Card ?
I want to open account to transfer money on it ?
What i should do ?
from where I get web services ?
Is there web services to VISA and other to Master Card ?
Does Bank can give me this Web Services.
|
|
|
|
|
PayPal
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
Paypal is one of the most popular payment system in the world.
There are some great article on CP in which you can Navigate This[^] article.
It's a one of top article of CodeProject
|
|
|
|
|
Can I do this with local Bank in my city instead of Paypal.
|
|
|
|
|
yes you can get yourself registered at direcpay service provided by "the times group" and can make payments through any bank of india with net banking service and credit card service. its very easy to integrate too.
have a look at http://www.timesofmoney.com/direcpay/jsp/home.jsp[^]
|
|
|
|
|
Hello everybody ,
i have created an ASP.NET Web service application , but in the same solution i have created a class that implements IHTTPHandler interface
and i used this class in my web.config file as the main http handler for *.asmx extensions , i have put the following line
<add verb="*" path="*.asmx" validate="false" type="GAndroidService.Android.AndroidHandler,GAndroidService.Android" />
it works fine in Cassini embedded web server in visual studio .
but when i deploy it to my domain web server , it tells me it could not load this type or its dependencies whereas this class is associated with one of the solution folders.
how can i solve this problem IIS 6 ?
Human knowledge belongs to the world.
|
|
|
|
|
Dont ask the same question again as you asked in C# forum
|
|
|
|
|
This could be confusing to the OP as they were told in the other forum to not post there, and now you are telling them to not post here. If you read the responses to the first posting you would see they have been advised to remove the question from this forum, which they can't do now that you replied to it.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Ok thats my misunderstanding, i dont check the timings. Thanks for correcting me, cheers
|
|
|
|
|
My friend i would like to inform you that the http handler works fine without injecting the assembly in the GAC , because the http handler is not in a different assembly , it is in the same assembly namespace as the whole project but the problem was as follows .
i didn't put the assembly name after declaring the fully qualified namespace of the handler
for example the assembly name is GAndroidService
and the fully qualified namespace for the handler is
GAndroidService.Android.AndroidHandler
so the assembly is successfully loaded in memory when the web service runs in the context of asp.net engine so i had to put it like that
GAndroidService.Android.AndroidHandler , GAndroidService
i hope this could help.
Thank you guys for your great support and taking time to reply
Human knowledge belongs to the world.
|
|
|
|
|
hi mates,
happy new year to all! (oshugatu omedetto gozaimasu)
i just want to ask how can i set to front a text or a pop up calendar.
i can't explain well what i want. please see link image for basis.[here]
thanks in advance
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
I could be way off the mark here, but I believe you use the CSS Z-Index property[^].
From w3schools:
The z-index property specifies the stack order of an element.
An element with greater stack order is always in front of an element with a lower stack order.
You could do this in server-side code of the calendar control, or in a CSS file - I believe using a CSS file would be better practice.
|
|
|
|
|
hi All,
My Data Access Layer trying to execute a service contract cerated by me which is inturn connecting other external web service. Its giving me the following exception.
Can anybody help me how to sort it out please.
Message "The remote server returned an error: (415) Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'.." string
I have create the biding as below and
private ICreateNewHireWorkflowState GetWorkflowStateWcfServiceClient(string endPointAddress)
{
BasicHttpBinding binding = new BasicHttpBinding();
EndpointAddress endpointAddress = new EndpointAddress(endPointAddress);
_createNewHireWorkflowStateWcfClient =
ChannelFactory<ICreateNewHireWorkflowState>.CreateChannel(binding, endpointAddress);
return _createNewHireWorkflowStateWcfClient;
}
And posting this meesage to post in to the other web service
private string CreatePostXmlString()
{
StringBuilder retString = new StringBuilder();
retString.Append(
"<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"> <s:Header> <Action s:mustUnderstand=\"1\" xmlns=\"http://schemas.microsoft.com/ws/2005/05/addressing/none\"> http://tempuri.org/IService/MyOperation</Action>
<ActivityId CorrelationId=\"b898336e-d4e2-4eb7-a2c7-1e23f4630646\"");
retString.Append(
"xmlns=\"http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics\"> 43ffa660-a0c6-4249-bb36-648b73a06213</ActivityId></s:Header> <s:Body> <StatusUpdate><CompanyCandidateCode>12345</CompanyCandidateCode><Password>1y7UV5%9</Password><OrderStatus>SAMPLE</OrderStatus><StatusString>SAMPLE</StatusString></StatusUpdate> </s:Body></s:Envelope>");
return retString.ToString();
}
Can anybody please help me in this, is it because of the xml that I am passing what could be the reason.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
Usually when I see this error, it means that there is an error on the other end (the external web service you're consuming) that's sending back a web page with an error message, hence the UTF-8 encoding. This goes for the external web service you're consuming, as well. Let me "draw a diagram", I'm confusing myself here...
Could be an error page Could also be an error page
vvv vvv
You <---> External service <---> some other service?
I would suggest trying to browse to the URL of the endpoint of the external service you are consuming:
This address here
vvvv
EndpointAddress endpointAddress = new EndpointAddress(endPointAddress);
Also, I can't help but ask why are you sending a hard-coded XML string to the service? Or is this just a test/prototype?
|
|
|
|
|
hi,
That is giving me that service is hosted. The other problem is the other service which is consumed by my service is implemeting the HttpPost.
I am not understanding where the problem is.
But one more thing when I host my service on my local machine I am not getting problem, but when I hot my service on another server and try to access
it from my web application then its giving error.
The flow here is My Web App -> My WCF Service (this can be on my local machine or remote server) -> External Web service.
When I put my My WCF Service on remote server its giving this exception other wise not.
Please help me in this regard.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
I still think you're going to be getting an error page coming back, in my experience that's what the UTF-8 encoding error means.
Other than that, I can only suggest you turn on WCF tracing[^] and check the trace logs. Almost invariably these have helped me solve problems with complex WCF configurations.
Another suggestion is using Fiddler[^] to see the data being communicated. My money's still on the response from the other end being a web page rather than XML
|
|
|
|
|
Hello CP,
I've been out of the programming loop for around 4 years now and now want to get back to it. I'm guessing there are a lot of changes since the 2005 version of VS.NET. Looking for any recommendations on getting back to it.
Thanks In Advance
Nino
|
|
|
|
|
It isn't quite hard from turning into 2010 from 2005.
There are very much changes in .Net framework as you may have used 2.0 at last, Currently it's running 4.0 latest.
You will find lots of article published in CP for 2010 from beginning to expert.
Google is always a friend, You will find lots of article on the same world wide too.
it's a very generic question and it can be answered only by ending it to google.
But I am sure It will take some time to adjust, It isn't any drastic change you will soon get adjusted.
|
|
|
|
|
VS2005 came with .NET 2.0, and all your .net 2.0 code should still work. If you didn't get into generics at the time, they are worth a review.
Changes since 2.0 then have really been add-ons (i.e. not core architecture changes) and language improvements. That's not to say there hasn't been a lot of mostly positive change, but you can apply everything you already know and introduce the new stuff as you go along.
On the ASP side of this there is ASP.NET AJAX, and you should look at WCF in place of WebServices if you use those. You might also want to get your head around ASP.NET MVC3, though I'd personally leave that till last as in lies on top of other new technologies.
As far as the backing-code is concerned the main thing to play with is LINQ in its various guises, and the new LinqDataSource (much cleaner than the SqlDataSource / ObjectDataSource for binding).
.Net 4 has fewer new features, there is good support for parallelism, which is likely to be important as the number of processors goes up.
|
|
|
|
|
|