|
-
Aug 7th, 2007, 07:27 PM
#1
Thread Starter
Hyperactive Member
[2005] Transfering a application folder
I transfered my application / folder from my laptop to this desktop.. in my laptop it was able to connect and work properly but after transfering here i get problems logging in although i changed the servername to this computer..
immediate window while debgging shows this ..
A first chance exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
-
Aug 7th, 2007, 09:21 PM
#2
Hyperactive Member
Re: [2005] Transfering a application folder
Can you show your connection string. You can change any passwords and server names to genric for your privacy. I would think that it has to do with your computer rights,
Visual Studio .NET 2005/.NET Framework 2.0
-
Aug 7th, 2007, 10:20 PM
#3
Thread Starter
Hyperactive Member
Re: [2005] Transfering a application folder
hmm i can connect using my previous versions.. its just that this particular time that i transfrd it from laptop to my desktop that its givign this error causing it not to connect in the DB
-
Aug 8th, 2007, 12:22 AM
#4
Thread Starter
Hyperactive Member
Re: [2005] Transfering a application folder
bump.. really weird.. working on it for hours..
in my laptop where i got the folder / application .. its working fine
in the computer where i transfered it its not working and cant seem to connect to the database..
in the same computer i used my previous version and it could connect to the same database..
this is what i get when i debug
A first chance exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
-
Aug 8th, 2007, 04:01 AM
#5
Re: [2005] Transfering a application folder
I don't see how we can help. That could mean anything.
You need to step through the code and see where the exception occurs.
-
Aug 8th, 2007, 04:36 AM
#6
Addicted Member
Re: [2005] Transfering a application folder
Where's your database server? Are you using SQL Server or just Access Database? If you use a server, did your notebook connect to your computer or did your notebook has it's own server?
There are many possibilities that caused your problem, but unless you explain it clearly and more detail (ex: which scenario above that you use), there's nothing we can do...
-
Aug 8th, 2007, 04:40 AM
#7
Thread Starter
Hyperactive Member
Re: [2005] Transfering a application folder
they connect within their own systems
ex. Laptop connects to its database inside it same goes with the desktop where i transfer it.
the difference is. when i use the laptop it connects no problem same goes with the other previous versions of the file in the computer where i transfer it
i can assure that the problem is not in the codes because i didnt change anything except for the Servername which i do regularly when i transfer the folder/application..
i tried opening a previous project and added 1 of the forms in the broken folder to it. i tried running it and it worked.. but i cant seem to trace the problem on that single folder i transfered
-
Aug 8th, 2007, 04:53 AM
#8
Addicted Member
Re: [2005] Transfering a application folder
If you can see an exception, then could it be your name server or the database table didn't match? Could you post your connection string in here ?
-
Aug 8th, 2007, 04:56 AM
#9
Re: [2005] Transfering a application folder
Since you're using a debug build, when you get the exception message click the "More info" button (I forget exactly what it's called) to get the call stack.
The top entry in there should show you the method which threw the exception. This should help you find it.
The only better way to trace the error is to install VS or VB.NET Express on the laptop and step through the code.
-
Aug 8th, 2007, 06:49 AM
#10
Thread Starter
Hyperactive Member
Re: [2005] Transfering a application folder
sir im really sure my connectionstring or code is not the problem, because the same connection string on my previous versions are the same and they all work except for this transfered folder/application..
error 26 of 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
is what i get checked the msdn topic but could solve it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|