473,796 Members | 2,649 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "applicatio n 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 1293
<membership defaultProvider ="OracleMembers hipProvider">
<providers>
<clear/>
<add name="OracleMem bershipProvider "
............... ..
applicationName =".WebSiteProje ct"/>
</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...@discus sions.microsoft .comwrote:
<membership defaultProvider ="OracleMembers hipProvider">
<providers>
<clear/>
<add name="OracleMem bershipProvider "
............... ..
applicationName =".WebSiteProje ct"/>
</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
1546
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 Dotnetfx.exe. When i ran my application i got a few errors about libraries and J-I-T Debugging. Also, registry functions and such did not work. I searched the MSDNKB and google :) and still couldn't find anything that explained how i would go about...
1
1182
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
1092
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 to dll's which are not separately included in the build (ie they are CrystalReports dll's which I can see from the build output have all been 'packaged' into the build). When I build the project in the Deployment Project it does not alter the...
1
965
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 contains a reference to the web service.
1
5246
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 to the deployment application in Visual Studio.NET. First question: I need to add some data files into the deployment application, but I do not want them uninstalled when the program is uninstalled through ADD/REMOVE programs. These are XML,...
4
4403
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 RELEASE as appropriate in the Application Folder and on the Users Desktop and Start menu. I didn't know whether the Project Output though would be enough or whether I would need to add the .mdb file to the Application folder too. I tested the deployment...
1
1214
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
2088
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 want to touch _ANY_ file of my deployment, but i have got one directory that contains all the plugins. As soon as the application starts i want to get all these dll's and hook them up to the main application.
2
4544
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 for VSTO & ClickOnce documentation and did not find anything. I've noticed that there is an option to publish the project, but when I do that and then run the application from Web it throws us security errors like:
0
9673
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9524
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10217
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10168
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9047
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5568
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.