Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run time error can't create object. 1

Status
Not open for further replies.

JerryWood

Programmer
Jun 11, 2001
3
US
When source code to the program run, there isn't an error. But when I complile into an exe then I get a runtime error can't create object.

The only thing that we did was change out the old server with a new server. How can change the reference from the old server to the new server????? Thanks
 
You have to make certain that the components referenced by your program are registered on the server.

Jordi Reineman
 
How can I change the reg. from one server to another.
 
You don't have to do this.

I guess you've tested the program on a normal pc (which worked) and then compiled the project and tried to run it from the server (which didn't work)?

Look at your project --> References dialog to see which components are referenced by your application. Make sure these components also exist on the server.

You could also try to make a setup file with the package and deployment wizard and run that on the server. This way, all the files your program needs should be registered proparly on the server.

Good luck!

Jordi Reineman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top