473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Unable to create tables in MSSQL on one machine, but can on another

Paul Johnson
Hi,

I have an ASP.NET project which relies on a database. I can do just about anything to the database except add tables. When I try to do that, I get the error

The specified module could not be found. (Exception from HRESULT: 0x8007007E)

This is about as helpful as the old BBC B "Mistake" error. Googling seems to have thrown up one of two problems WMI and SQL Server itself. I've tried the fixes suggested and I'm still getting the problem.

On another machine, I can add tables without a problem, commit to SVN and add the problem back to my laptop where the code is being developed.

Does anyone know how to trace this problem or just how to fix it?

Using VS2010 Ultimate, SQL Server R2 (SP1) and SQL Server Express 2008.

Thanks

Paul
Apr 2 '12 #1
5 2072
NeoPa
32,556 Expert Mod 16PB
I can appreciate the problem of trying to deal with an issue with so little basic information, Paul. I'm afraid you've left out both what your code is, and where the error message comes from. The question has been posted in the SQL forum, but my researches indicate it's a .NET library issue. I must admit it didn't sound like a SQL-type message, but who can know everything about SQL Server (not me to be sure).

If you can confirm that it's from the ASP.NET side of things I will happily move the question to the relevant forum. You may want to consider sharing the relevant part of your code with the experts there though, to make it easier for them to help you.

Alternatively, it may simply be a question of ensuring all libraries are up to date on that particular machine. I'll leave it with you anyway.
Apr 2 '12 #2
The error comes in VS when I try to add a table to my database. The connection is fine (tried that using the wizard) - as it's coming from when I try to do something with the database, I guessed this is the correct forum. If it's not, please feel free to shift it around a bit.

In the meantime, any clues on where to look for either a missing library or whatever else it could be?
Apr 2 '12 #3
NeoPa
32,556 Expert Mod 16PB
Paul Johnson:
In the meantime, any clues on where to look for either a missing library or whatever else it could be?
I just put the full error message in the google field and sent it off.

I'm not an ASP or even a .NET coder, so I'm not the best to interpret that for you, but the impression I got was of a wrong version for a library file. I expect you'll be better able to understand what you get.
Apr 2 '12 #4
As I say, when I do that I get a pile of results pointing to WMI and SQL Server, but nothing that you can really stick your finger on and say "that's it"!

From what I've been told, it's quite a common problem
Apr 2 '12 #5
NeoPa
32,556 Expert Mod 16PB
http://social.msdn.microsoft.com/For...-2cd17b446e29/ seems to imply that you need to look at your stack trace to determine which actual file is missing or of the wrong version, and explains what needs doing to fix it. I can't say I know where you'd look for that, as I don't even have such an environment available to me. I would assume that it's available somewhere, but I'm in no position to tell you where I'm afraid.

I'll move it across to ASP.NET and see what the folks there have to say.
Apr 3 '12 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: lkrubner | last post by:
I have a webserver through Rackspace. I create a domain. I create an FTP user. I upload some files. I create a database called testOfSetupScript and then I create a database user named setup. I...
6
by: calan | last post by:
Relative SQL newbie here......this is probably easy, but.... Lets say I have a table (MainTable) that stores a list of input table names, a primary key (PKey), and a field called "Configured" for...
4
by: Amos | last post by:
I built the following Sub, in order to create tables automatically. The button is placed on a mask where there are 3 txt box, two of them contain the "Bank name" and "Bank a/c". I want to name the...
1
by: David | last post by:
I am hopeing someone can help me with this as I have struggled over the last few days with it. I have a make table query which I want to use to split the table up into seperate tables which are...
3
by: kuldeep | last post by:
Hi all, I have a application developed in C# .net. The problem I face is I am unable to shutdown my machine when the exe is running. Windows is unable to close this exe an shut down. Can anyone...
0
by: salom39 | last post by:
Hi, i'm new using mssql. I want to make a trigger that will send a string based on the record(table information) to another server. The other server is not an sql server and I want to know how can i...
2
by: sandeepk84 | last post by:
hi all.. how we can create a table from another table? actually i need to create a table from another query... please help... thanks and regards.. sand...
2
by: G Gerard | last post by:
Hello I am trying to connect to a msaccess database and then create a list of the objects in that database (more specifically the tables) and then create a list of the fields (including the...
3
by: ScorpAL | last post by:
Hi, I have some problem... I have two tables phpbb_posts and phpbb_posts_new with same fields and structure: CREATE TABLE `phpbb_posts` ( `post_id` mediumint(8) unsigned NOT NULL...
1
by: kwokv616 | last post by:
Hello! I have some codes that will import a table fro text file, then fill in null cells with some appropriate values. It will become so big that I need to separate this table from the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.