Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Errors installing Server (System.IO.FileNotFoundException)
 

Errors installing Server (System.IO.FileNotFoundException)

Hi,
I downloaded the server (Beta 1) for Terrarium.  
I am checking both the database and web site checkboxes on the installation wizard.  
The installation starts and I get a progress bar that moves along. However before I get to the end of the installation I get the following error:

"Exception occured while initializing the installation: System.IO.FileNotFoundException: File or assembly name Microsoft, or one of its dependencies, was not found."

I am running windows XP
I have SQL 2000 running on my machine with the Security set
I have IIS running on my machine. 

Please Help
Thanks Garth 
MigrationUser 1  Friday, July 02, 2004 3:01 AM
I've since resolved the issue. 
What I did was unchecked the automatic database & website installs. I then had to manually install the Database and website. 

I now have 2 new issues. 
I've followed all the installation steps and went to the 
http://localhost/Terrarium/Administration/ServerVerification.aspx page. Everything there (asides from the Charting which as I understand is optional) has a status code of 'OK'.  
So as far as I can see my server is running ok. 

ISSUE 1 #######################################
When I load up my Terrarium Client and click on 'Server' in the settings panel I put in the following 'http://myMachineName/Terrarium' as the server path. I'm not sure whether I must check NAT/Firewall (I am behind a firewall but want to run the server locally in my office).  

But... when I run the client I get the following error 
"The Terrarium server is experiencing temporary difficulties. This is probably why you aren't receiving any animals. Please bear with us while we get the issue resolved."

Any ideas?

ISSUE 2 #######################################
When I go to my local website and hit the following page: 
"http://localhost/Terrarium/Administration/Watson.aspx" 
I get an error: 
"Object reference not set to an instance of an object" 
this is on the following line
"Line 35:         using(SqlConnection myConnection = new SqlConnection(DatabaseSettings.SpeciesDsn)) {"

I think it's because it cannot access the "min_web.config" file properly.  The "min_web.config" file I have placed in the root of the website and have left it's name as it is.  I'm not sure if it's in the right place or not. This might be the reason I'm getting an error in 'Issue 1' above? 

Otherwise I'm totally stumped... 

Please Help
Garth 

MigrationUser 1  Friday, July 02, 2004 9:20 AM
Rename min_web.config to web.config.  Once you do that, re-run the client and see if this doesn't fix both issues.
MigrationUser 1  Friday, July 02, 2004 10:43 AM
Mitch,
Nope. No luck.
MigrationUser 1  Friday, July 02, 2004 10:44 AM
No luck with either issue?  Did you edit web.config to supply the correct connection string, install location, etc.?
MigrationUser 1  Friday, July 02, 2004 11:45 AM
Getting closer. 
I renamed web.config
I had to twiddle with the files in the 'Setup' directory though. 

Here were the problems: 
1) The connection string I had to add 'database=Terrarium'
2) in the .aspx files I had to change 
"using(SqlConnection myConnection = new SqlConnection(DSN.SpeciesDSN)) {"
to 
"using(SqlConnection myConnection = new SqlConnection(DatabaseSettings.SpeciesDsn)) { "
on line 74. 

So the .aspx pages are all running now.  

I have a new problems
Problem 1 ####################
I've copied the source code off this site (http://www.windowsforms.net/Terrarium/docs/QuickStart/handson.aspx) I follow all the steps and build the animal as garthr.dll.  However when I add the animal to the client I get the following message "Your species has failed our basic check for inflammatory terms. Please resubmit using a new name, or if your name was flagged in error, please try using initials or other monikers."

Problem 2 ####################
When I'm getting the following error "The Terrarium server is experiencing temporary difficulties. This is probably why you aren't receiving any animals. Please bear with us while we get the issue resolved".  Although I can see 2 peers at the top of the screen. (I have installed the client on another machine on our network).  I think I might be getting errors cause the database on my server is empty. Perhaps solving problem 1 above will resolve problem 2?

Thanks for your help!
Getting closer & getting excited...  I can see my weekend disapearing
Garth 


MigrationUser 1  Friday, July 02, 2004 12:00 PM
Verify that in web.config that the pointer to the invalidwordlist.txt is pointing to the right place.  Alternatively, if you don't care about "naughty" organism names, you can disable the checks in the Add() method of AddSpecies.asmx.

Check the Application Event Log on the server to see if there are any exceptions being logged by the server.
MigrationUser 1  Friday, July 02, 2004 1:25 PM
I commented out the checks for inflammatory terms and all's working!

Thanks!
MigrationUser 1  Sunday, July 04, 2004 7:08 AM
How i can download terrarium server?
Sorry for my English.
MigrationUser 1  Thursday, August 05, 2004 1:26 AM
Hi,

I am stuck with the same problem. 

Here I have a windows application. I have created setup to install the application. Along with the application I have several functionalities like Restore of Bak file. Create DSN, Make Replication...etc. For that I have created one dll which will do all these stubs. If I include the dll in the Install folder I am getting the above error otherwise setup is running fine..

Do you have any idea...What will be the possible solution to resolve this problem..

Thanks,     
MigrationUser 1  Friday, June 03, 2005 10:24 AM

You can use google to search for other answers

Custom Search

More Threads

• HELP!!! --> setting up terrarium server
• tab pages
• C# help
• Is my plant alive ?
• Sample code not working in VB.NET ???
• SQL Server Location
• Vector.Rotate rotates in which direction?
• Seeking a windows service example that connects to database
• Where is Sqlconn getting initialized
• Repair and Uninstal TaskVision Problems