Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 05-12-2006, 11:38 AM   #1
Angry Error Accessing SQL Server from ASP.Net


The following error is encountered while trying to Host the site from IIS ..
" The Assembly Version ([ASSEMBLY VERSION]) does not match the Database Version ([DATABASE VERSION]).
"Error: Could not connect to the database specified in the connection string for SqlDataProvider. "

We have 2 different machines over which we have 2 different SQL Server.
In Web.Config, if we give server=server1 it works well and there is no problem at all...
if we give server=server2, and execute http://localhost/application, the above mentioned error occurs..

Can anyone throw some light on this regard.
Its urgent.


srvking
srvking is offline   Reply With Quote
Old 05-12-2006, 04:20 PM   #2
unholy
Super Moderator
 
Join Date: Jun 2005
Location: Australia
Posts: 3,988
Send a message via MSN to unholy
Default
dont look at me for an answer i never liked .NET.

Though i could direct u to saying theres something wrong with ur 2nd SQL Server? or are they direct Images of each other?


unholy
unholy is offline   Reply With Quote
Old 05-13-2006, 07:20 AM   #3
srvking
Junior Member
 
Join Date: May 2006
Posts: 2
Default
I wud really appreciate if u give me some reference even though u dont like .Net....

Actually server1 and server2 have been installed from the same CD to different machines.. so they are virtually the same.. may be there cud have been some mistake while configurnig server2, but what that i am not sure...


srvking
srvking is offline   Reply With Quote
Old 12-18-2007, 09:18 PM   #4
fred5152
Junior Member
 
Join Date: Dec 2007
Posts: 14
Default
from which server are you accessing the database?
can you post your connection string?


fred5152
fred5152 is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Demo projects in Asp.net with C# and sql server?? CouponAlbum General Help Related Topics 0 05-01-2009 01:17 PM
Prerequisites 70-745 (Business Intelligence) Valmont MCITP 3 06-24-2008 03:03 PM
SQL Server 2008 delayed into Q3 2008 darrilgibson@cox.net MCITP 0 01-27-2008 10:26 PM
help me for SQL server 2000 and ASP.NET rishabhsethi General Help Related Topics 0 12-27-2007 10:19 AM
MCITP SQL Server 2005 or SQL Server 2008 Darrilgibson@gmail.com MCITP 0 12-19-2007 01:56 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46