works on my xp pc but not on server...

G

Guest

I have a small application that accesses the webconfig file for the
connection string. The connection string has been encrypted. The app works
fine in IIS 5.1 on my xp machine but when I try it on windows 2003 server,
whenever the app needs to access the connection string it give me the below
error:

Format of the initialization string does not conform to specification
starting at index 0.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.ArgumentException: Format of the initialization
string does not conform to specification starting at index 0.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.


Any help would be much appreciated... Thanks in advance.

Thanks,

Mike
 
K

Karl Seguin

Mike:
I can only guess that a different version of mdac or something is installed
on the two machines...it seems like your connection string has an error in
it that one system tolerates and the other doesn't (or a feature which isn't
supported in one vs the other).

Check out http://connectionstrings.com or provide us your connection string
(replace sensitive information with dummy data).

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top