Z
zethon
This is my first ASP 2.0 project and I'm running into a snag now that
I'm trying to deploy the project.
On my development machine, whenever I browse to the site via the IDE
webserver, the URL bar looks like this:
http://localhost:1234/directoryname/default.aspx
Which works just fine. However, when I deploy the website onto an
actual server, the URL looks like this:
http://12.34.56.78/default.aspx
I think this is causing some problems. Namely, I think it's causing an
issue with Profiles and Roles.
What I've done is use custom providers for all the authentication,
profiles, roles and all that other good stuff, and that data is stored
in the app's main database file on my development machine.
So, I have one database file that stores all the user info, profile
info, role info and all the app's info. I took that database (SQL
Server Express on my dev machine), back'd up the database and then
restored it on the deployment machine's database (SQL Server).
Most things look fine, except that none of the user's roles carried
over, and I believe this has something to do with the "application id"
that's mapped to the application directory as I mentioned above.
Does anyone have a suggestion as to how I an fix this?
Thanks!
I'm trying to deploy the project.
On my development machine, whenever I browse to the site via the IDE
webserver, the URL bar looks like this:
http://localhost:1234/directoryname/default.aspx
Which works just fine. However, when I deploy the website onto an
actual server, the URL looks like this:
http://12.34.56.78/default.aspx
I think this is causing some problems. Namely, I think it's causing an
issue with Profiles and Roles.
What I've done is use custom providers for all the authentication,
profiles, roles and all that other good stuff, and that data is stored
in the app's main database file on my development machine.
So, I have one database file that stores all the user info, profile
info, role info and all the app's info. I took that database (SQL
Server Express on my dev machine), back'd up the database and then
restored it on the deployment machine's database (SQL Server).
Most things look fine, except that none of the user's roles carried
over, and I believe this has something to do with the "application id"
that's mapped to the application directory as I mentioned above.
Does anyone have a suggestion as to how I an fix this?
Thanks!