|
Application: ---------------- "An unknown error has occured. Please review the even log for more information"
Event log: ---------------- "Client found response content type of 'text/html; charset=Windows-1252', but expected 'text/xml'."
Any ideas ? |
| MigrationUser 1 Thursday, February 20, 2003 2:09 PM |
Solved the problem by change the user rights. But now I get another error...
Parser Error Message: Could not load type 'TaskVisionWS.Global'.
Source Error: Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="TaskVisionWS.Global" %>
Reinstalling the server files does not help...
|
| MigrationUser 1 Thursday, February 20, 2003 3:14 PM |
did you change the root namespace for the webservice project? |
| MigrationUser 1 Thursday, February 20, 2003 3:16 PM |
I´m not sure...how can I check that and what should I change it to ?
|
| MigrationUser 1 Thursday, February 20, 2003 3:28 PM |
Sounds the like the global.asax.vb isn't included in the build dll. |
| MigrationUser 1 Thursday, February 20, 2003 3:36 PM |
The server files were installed on a domain controller so the setup never finished. I had to copy the from the program folder... I just can´t see what I have missed out (?!) Ahh... |
| MigrationUser 1 Thursday, February 20, 2003 3:46 PM |
Updated the namespaces but the problem is still there... |
| MigrationUser 1 Thursday, February 20, 2003 4:03 PM |
when updating the namespace, sometimes, the global file doesn't get updated like it should...you'll have to manually go in and make sure the path to the class in the global.asax.vb file is correct in the global.asax file |
| MigrationUser 1 Thursday, February 20, 2003 4:05 PM |
Thanks for all you help guys. The Global.asax was updated but the dlls were not in the right path...
Next, and hopefully last question/problem. How do I change the default namespace ?
Now it says "http://tempuri.org/" is being used as its default namespace.
|
| MigrationUser 1 Friday, February 21, 2003 3:13 AM |
just change the attribute of your webservice, like this...
<WebService(Namespace:="http://www.mywebsite.com/")> |
| MigrationUser 1 Friday, February 21, 2003 3:16 AM |
That gives me the following error:
error BC32035: Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement.
|
| MigrationUser 1 Friday, February 21, 2003 4:08 AM |
I get these errors when testing the Webservice.
GetUserInfo returns: ---------------------------
System.IO.FileNotFoundException: File or assembly name dzggczgt.dll, or one of its dependencies, was not found. File name: "dzggczgt.dll"
GetAuthorizationTicket: ---------------------------- System.IO.FileNotFoundException: File or assembly name -7y3a9x3.dll, or one of its dependencies, was not found. File name: "-7y3a9x3.dll"
Any ideas anyone ? |
| MigrationUser 1 Friday, February 21, 2003 4:48 AM |
uh...no clue...
yes, that attribute i sent you, needs to be part of the name of the class, so if you want it on a seperate like in VB.NET, you must use an underscore at the end of it |
| MigrationUser 1 Friday, February 21, 2003 3:24 PM |
Okey. Thanks for all your help, very appreciated !
It all works fine now... The above errors were due to a bad RRAS setup on the server.
|
| MigrationUser 1 Friday, February 21, 2003 3:38 PM |
"Client found response content type of 'text/html; charset=Windows-1252', but expected 'text/xml'."
you said "Solved the problem by change the user rights. "
how?????
|
| MigrationUser 1 Monday, November 08, 2004 5:55 AM |