473,396 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Application Directory & Deployment

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!

Aug 30 '07 #1
2 1279
<membership defaultProvider="OracleMembershipProvider">
<providers>
<clear/>
<add name="OracleMembershipProvider"
.................
applicationName=".WebSiteProject"/>
</providers>
</membership>

do you fill the applicationName tag in your membership, profile and role ?
Aug 30 '07 #2
Right now it simply says applicationName="/"

Which seems like that should work. Hmm... I will try changing i.

On Aug 30, 2:18 pm, Ghistos <Ghis...@discussions.microsoft.comwrote:
<membership defaultProvider="OracleMembershipProvider">
<providers>
<clear/>
<add name="OracleMembershipProvider"
.................
applicationName=".WebSiteProject"/>
</providers>
</membership>

do you fill the applicationName tag in your membership, profile and role ?

Aug 31 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Joshua Sprague | last post by:
Recently i tested an application i was developing on another P.C. with the same harware. It was a new P.C. though and did not have the .NET framework installed on it, so i first installed...
1
by: Stewart Armbrecht | last post by:
Is it possible to create a deployment project that deploys your asp.net application to a virtual directory? I don't want the application to install in the wwwroot folder. If so how?
4
by: jwk | last post by:
I have built my project using a "deployment project" - I've added all the correct Merge Modules as well as Primary Output and Content Files from 'Project Outputs' ; but the aspx pages still refer...
1
by: Sachin | last post by:
Hi All, I my dev. env I got, ASP.NET Web Service, Virtual Directory: X ASP.NET App, Virtual Directory: Y Both these projects are part of the same solution and ASP.NET app...
1
by: Supercox | last post by:
I am on a team programming a VB.NET application (called "Alternate Benefit Calculator" or ABC for short) and I have been preparing our program for deployment. I have several questions pertaining...
4
by: JOHN MALONEY | last post by:
Hi Everybody, I have created a three-tiered db application in VB .NET but I can't get the deployment to work right. I have added a SetUp project to the existing application. I also selected...
1
by: Guillaume | last post by:
Hello, In a setup & deployment project, is there a keyword representing the install directory of my .exe ? I need it to write in the registry the installation directory. Regards, Guillaume
1
by: krach.aran | last post by:
I'm creating a winforms click-once application that is plugin enabled. The application is working, and so are the plugins. but now i have got the following problem: after deployment i do not...
2
by: Michael Kalika | last post by:
Hi, We have developed a VSTO 2005 Excel application and we would like to leverage ClickOnce deployment mechanism for distribution of this application. How can we do that? I was digging in MSDN...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.