Yes we can see the tables on the database with SQL Server Management Studio Express; and when we use the âconfiguration toolâ in the VWD 2005 express (after using the ASP.Net SQL Server setup wizard (asp.net_regsql.exe) to point to the remote db; we can add roles and users to the remote database and set the users to the roles we want them in.
The only problem with the config tool is that we canât delete existing access rules for the site folders (i.e. The Management Folder); all the existing rules are grayed out and we canât even delete them. We can create new rules for the new users and roles, but this is not fixing our problem (login works, but admin link never appears).
The remote server we are dealing with requires us to make a (.bak) file of the (.mdf) local db and email it to them, they then use it to populate the database we want them to on the remote 2005 SQL server. This is how we got the existing database up on the remote this time as well. The database name is different on the remote server and it is the full version of SQL 2005, not the express edition we work with locally.
We think the problem might have something to do with the code we found in the file App_Code/AppConfiguration.
vb on line 29 (connection string) we changed that to the correct remote string, with and without the provider name added to the string but this didnât fix the problem either. Not sure we changed that correctly because of the ââ within a ââ confusion.
Our web.config file contains the this new connection string [<connectionStrings>
<add name="WebShop" connectionString="server=8.8.246.27; Initial Catalog = ocorratestdb; User Id = robert; password = XXXXXXXXXXX;"
providerName="System.Data.SqlClient" />
</connectionStrings>]
We are able to see the site with this sting, but just canât get the admin section to open up for us after logging in with the administrator user name which weâve already set in the administrator role with the config tool. (the new administrator role we had to create; the old one is grayed out.)
Hope this gives a better idea of our problem.
Also, the server where the database resides does not allow us into the app folder. Can you suggest a company where they would allow us more access to the server? They do not even allow us to place the database files on to the server, we have to send them a copy and then they put them on to the server, which is a royal pain.
Mike