Is there anyone out there that can give a step by step guide on how to deploy the SharewareService to a webserver?
The docs are very helpful, but im fumbling around trying to get the thing to work properly.
Also, how do we remove activation and stuff?
I am a VB.NET developer, and don't have a heck of alot of experience with SQL or WebServices. (Willing to learn tho)
-
-
Did you take a look at page 13 in the included file SSK Developer Documentation.doc ? It gives a decent walkthrough of what you must do.
Of course, it isn’t quite enough (for me at least) as I keep getting the ever so friendly error
An error occurred while entering user data into the database. Error: Unable to open the physical file "D:\<removed path info>\ssk.mdf". Operating system error 5: "5(Access is denied.)".
An attempt to attach an auto-named database for file D:\<removed path info>\ssk.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.And later, the far more telling:
ound response content type of
(yes, that is exactly what I get when trying to communicate with the WS... well, back to the debugging board.
-
dahat wrote:
An error occurred while entering user data into the database. Error: Unable to open the physical file "D:\<removed path info>\ssk.mdf". Operating system error 5: "5(Access is denied.)".
An attempt to attach an auto-named database for file D:\<removed path info>\ssk.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.
Yep I get the same error. I have tried making sure the DB wasnt open in the server explorer in VS2005, and also moved it to the root of my drive. (e:\SSK.mdf)
I am sure its a simple problem, but the solution still seems to escape me. -
In the past I have seen problems with SQL Express not attaching a database after it’s been moved, renamed, or just opened after closing a solution.
In the past deleting the database reference from SQL Express and then allowing the ASP .NET Dev process to automatically reattach has helped.
- If you do not have SQL Express manager installed install it from here: http://lab.msdn.microsoft.com/express/sql/default.aspx
- Log onto server .\sqlexpress and delete the SSK.mdf databases that should be attached.
- The next time you run the web service it should automatically reattach.
*Note: Don’t delete the database from disk, only delete the reference form SQL Express Manager.
If this doesn’t help, check the following things:
- Make sure that the database is not in source control or marked as read only.
- Ensure that the current logged in user has full access permissions to the database in question.
-
The free hosted service for the Shareware Starter Kit is now up at sharewarestarterkit.com. Once you create an account a developer token is created. The site also gives you tools to view the submissions.
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.