Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Running Sample Application
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01352743
Message ID:
01352781
Vues:
22
Hi Tim,

That is the really strange part. The string does not show up when adding a new database connection. My server is in the drop down list, but the database drop down is empty. I can click the Test Connection and it says it works. There is definitely some type of bug or something isn't installed correctly because even if I attempt to add a new database connection and then leave everything blank and click the Test Connection button, it still says it was successful. Oh, by the way, this is Visual Studio 2008 SP1.

Very strange. I'm thinking today I may move all of my deveopment to Windows XP. I just wanted to see if there may be something I'm missing where I could leave everything on Vista. Actually, I don't think it makes sense in the first place to do development in Vista. I'm thinking leave all of my development tools on my Windows XP box and then test the applications on my Vista box.

I appreciate your response and will continue to do research on this thing. It sure seems like I have something missing because you would think something like this would have been caught in SP1.

Thanks,

James



>Hi James,
>
>>Hi Kevin,
>>
>>I've been trying to run the latest MM.NET evaluation Sample application. I get the following error:
>>
>>Title; SQLException was unhandled
>>Message: Invalid object name 'Message'.
>>
>>I know this has to do with not being able to connect to the database on my server (not local). I changed the connection string in the app.config file to the following:
>>
>>
>>
>><add key="CustA\Northwind\Connection" value="Data Source=MOORE3;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Northwind" \>
>>
>>
>>
>>My database in not local, but on a separate server. I tried doing Google searches but the only thing that came up was this was a Vista issue. I wouldn't be surprised. I cannot even connect using Server Explorer. I was about to move all of my .NET deveopment to my Windows XP box, but I thought I would check with you first to see if you know of any known issues.
>>
>>What is strange about attempting to connect in Server Explorer is I can enter the server name and click the Test Connection and it displays the connection was successful. However, I know something is wrong because the database drop down is not being populated. I can connect to the server and the databases from my Vista machine within SSMS without any problems so I thought that would rule out any blocked ports.
>>
>>Let me know if you've seen or heard of this and if you have any suggestions. I'm out of ideas.
>>
>>Thanks,
>>
>>James Moore
>>Owner/Developer
>>Ministry Tracking Software, Inc.
>
>I have seen this and not sure off the top of my head if it was related to a connection string issue. If you have a connection in Server Explorer can you look at the properties sheet and copy that connection string out and paste it next to your other to compare. Also does your database have windows security, database security or both?
>Tim
James Moore
Owner/Developer
Ministry Tracking Software, Inc.
www.youthtrack.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform