Hi,
I am getting the error posted down below. I used the script ClubAdd.exe from MSDN to add the club tables to my SQL2000 database. I noticed in the error it is looking for
dbo.Events and dbo.Locations. These tables exists in my database. However, the tables the owner is not dbo but instead my database login name. Is that the reason for the error? I don't think that that matters, but any way I
would appreciate your input to this.
Thanks
Server Error in '/' Application.
Invalid object name 'dbo.Events'.
Invalid object name 'dbo.Locations'.
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.Data.SqlClient.SqlException: Invalid object name 'dbo.Events'.
Invalid object name 'dbo.Locations'.
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.
I thought I would get answer from this forum. Obviously not. Perhaps my question was so stupid that no one bothers. Anyway, I'm happy that in the end I am contributing instead. So for those of you who wil encounter this error here is
the solution.
Well, the solution would be to edit all queries with "dbo." in field names. This is easily done by search and replace. (I really feel stupid now [:$] )
I don't have VS2005 in front of me so the following may not be the exact.
1. Select "Edit" menu and do a Search and Replace of all files in the project
2. Find: dbo.
3. Replace: (empty)
4. Click Replace button
No other files need to be touched for the change.
and "dbo." is case sensitive. Its not the same as "Dbo."
and these change is to be applied at only those places, where you find
"dbo.Events" or "dbo.Locations"
If some one needs the changed files i can help.
i am having the success full implementation of club starter kit on www.rohitjain.com
ferdz
Hi,
I am getting the error posted down below. I used the script ClubAdd.exe from MSDN to add the club tables to my SQL2000 database. I noticed in the error it is looking for
dbo.Events and dbo.Locations. These tables exists in my database. However, the tables the owner is not dbo but instead my database login name. Is that the reason for the error? I don't think that that matters, but any way I
would appreciate your input to this.
Thanks
Server Error in '/' Application.
Invalid object name 'dbo.Events'.
Invalid object name 'dbo.Locations'.
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.Data.SqlClient.SqlException: Invalid object name 'dbo.Events'.
Invalid object name 'dbo.Locations'.
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.
ferdz
Member
40 Points
8 Posts
DB error: Invalid object name 'dbo.Events'
May 09, 2005 09:07 PM|LINK
Hi,
I am getting the error posted down below. I used the script ClubAdd.exe from MSDN to add the club tables to my SQL2000 database. I noticed in the error it is looking for dbo.Events and dbo.Locations. These tables exists in my database. However, the tables the owner is not dbo but instead my database login name. Is that the reason for the error? I don't think that that matters, but any way I would appreciate your input to this.
Thanks
Server Error in '/' Application.
Invalid object name 'dbo.Events'.
Description: An unhandled exception occurred during the execution of the current web request.Invalid object name 'dbo.Locations'.
Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'dbo.Events'.
Invalid object name 'dbo.Locations'.
Source Error:
Stack Trace:
ferdz
Member
40 Points
8 Posts
Re: DB error: Invalid object name 'dbo.Events'
May 10, 2005 10:00 PM|LINK
ferdz
Member
40 Points
8 Posts
Re: DB error: Invalid object name 'dbo.Events'
May 13, 2005 02:48 PM|LINK
SOLVED!
I thought I would get answer from this forum. Obviously not. Perhaps my question was so stupid that no one bothers. Anyway, I'm happy that in the end I am contributing instead. So for those of you who wil encounter this error here is the solution.
Well, the solution would be to edit all queries with "dbo." in field names. This is easily done by search and replace. (I really feel stupid now [:$] )
jdub12
Member
292 Points
67 Posts
Re: DB error: Invalid object name 'dbo.Events'
Jun 13, 2005 05:44 AM|LINK
Fleck
Member
25 Points
5 Posts
Re: DB error: Invalid object name 'dbo.Events'
Jun 24, 2005 09:35 PM|LINK
And if you felt stupid, I'm sure you can imagine how I feel!
Thank you
ferdz
Member
40 Points
8 Posts
Re: DB error: Invalid object name 'dbo.Events'
Jul 06, 2005 07:32 PM|LINK
I edited the .aspx files.
ferdz
Member
40 Points
8 Posts
Re: DB error: Invalid object name 'dbo.Events'
Jul 06, 2005 07:34 PM|LINK
I don't have VS2005 in front of me so the following may not be the exact.
1. Select "Edit" menu and do a Search and Replace of all files in the project
2. Find: dbo.
3. Replace: (empty)
4. Click Replace button
Fleck
Member
25 Points
5 Posts
Re: DB error: Invalid object name 'dbo.Events'
Jul 10, 2005 12:54 PM|LINK
Thank you,
Fleck
beta_2
Member
25 Points
5 Posts
Re: DB error: Invalid object name 'dbo.Events'
Dec 20, 2005 04:38 PM|LINK
btech_rohit
Member
25 Points
5 Posts
Re: DB error: Invalid object name 'dbo.Events'
Dec 30, 2005 05:05 PM|LINK
1)Default.aspx
2)Events_edit.aspx
3)Events_view.aspx
No other files need to be touched for the change.
and "dbo." is case sensitive. Its not the same as "Dbo."
and these change is to be applied at only those places, where you find
"dbo.Events" or "dbo.Locations"
If some one needs the changed files i can help.
i am having the success full implementation of club starter kit on www.rohitjain.com
http://www.rohitjain.com