I found this....
I've had the same problem, it took me 2 days to work it out. Ofcourse, Its pretty simple, once you know how to fix it.
A. Firstly, my VS.net configurations, I have the following software installed in order. This is important, particularly with IIS: 1. IIS 2. Visual Studio.net (VB.net) 3. MS SQL Server Desktop Engine (MSDE)
B. Copy "taskvisionsource_1.1.0.0.msi" to another directory 1. Install taskvisionsource_1.1.0.0.msi 2. Get the error msg "Unable to locate the localhost database�". Don't close this. 3. Go to the directory you selected for installing the source code and copy all in another directory. Then close the error msg and let the setup rollback installation.
C. Install database 1. Go to the directory you copied the source code to and find the directory "…setup\SQL\". 2. The files SqlServer_TaskVision_Create_DB.sql and SqlServer_TaskVision_DataLoad.sql should be there, ingnore the 3rd file. 3. Type "OSQL -S %COMPUTERNAME% -E /I SqlServer_TaskVision_Create_DB.sql" This will create the sql TaskVision database to your (local) sql sever. 4. Type "OSQL -S %COMPUTERNAME% -E /I SqlServer_TaskVision_DataLoad.sql"
D. Let IIS know that the application is there to use. 1. Go to the directory you copied the source code to and locate the directory "TaskVisionUpdates" and directory "TaskVisionWS". 2. Copy these 2 directories (including the files) into c:\Inetpub\wwwroot\ 3. Goto Control Panel -> Administrative Tools -> Internet Information Services 4. Expand the server node | Web Sites | Default Web Site. 5. Locate and click on TaskVisionWS directory. 6. Right-click on TaskVisionWS directory and select Properties. A dialog box will appear. 7. Select the Directory tab and click on Create button to tell IIS to let you use this application. The icon on the TaskVisionWS directory should change from folder icon to IIS icon. 8. Locate TaskVisionUpdates directory. Rick-click, select Properties. Then click the Create button. The folder icon should change to IIS icon.
E. Modify the connection in the program to let it know where the databases are. 1. Go back to the directory you copied the source code and find the file TaskVision.sln. Then run it. 2. Find the TaskVisionWS project and double-click on AuthService.asmx. 3. Select "dbConn" sqlconnection contorol, go to "Properties" and change the "Connection string" to the "TaskVision" sql database you created in step C3. above. 4. The easiest way is to select <New Connection�gt; 5. (local) for server name. Tick "Use WIN NT Integrated security". "TaskVision" for the database
G. Run TaskVision.
|