Configuration :: Setting Up Site In IIS?
Aug 2, 2010
steps for using IIS to host a website I created in visual studio? I have the files in a folder called HelpDesk under inetpub and have the path correctly specified in IIS, but IE is stating it cannot display this webpage.
View 2 Replies
Similar Messages:
Aug 17, 2010
I have developed my web site, now i need to set up a space on the server for it.
I have added an application pool in iis and created a site but im not sure how to link the 2 or what to do next.
View 4 Replies
Jun 15, 2010
I am working at a site not orginally devleoped by me. The problem is that all the pages are working fine and have no problem at my local site. but the site is not showing any content at live site from database. Niether it shows an error for it. How can I find the problem?
View 7 Replies
Oct 3, 2010
I am neither a server administrator nor very knowledgable about how to configure IIS, so I have the following problem:
My client hosts their public website from their own internal server running Server 2003 with IIS 6. The current website is a .NET 1.1 application configured as a website in IIS. Within this site a separate virtual directory configured as an application runs a separate .NET 1.1 app that serves as their online webstore.
I've been tasked with upgrading the website (not the webstore) to .NET 4 and getting it installed and working on their server. My initial plan was to simply change the existing websites home directory to the new home directory from the IIS admin console and be done, but then I read that this would break the application directory that hosts their online store because .NET 1.1 applications cannot be nested within .NET 4 applications. Can anyone confirm this?
View 3 Replies
Apr 20, 2010
VWD 2008 Express. IIS 6.0. Forms Authentication.My web site uses forms authentication (in case that makes a difference). Folks who are using the site indicate that it is timing out on them (logging them out) before they can finish some entries. How can I increase the timeout period? The following is my web.config file in my root directory:
[Code]....
Here is the web.config in the subdirectory to which all users are directed at login:
[Code]....
View 9 Replies
Feb 21, 2011
I've been asked to implement the French translation of an ASP.NET 3.5 website. Each translation is going into its own separate website Unfortunately the previous programmer did not implement localization, so each site will have its separate set of files - this is not negotiable.
This French version will also go into its own website (www.mysite.ca), but for the moment I have been asked to put it into a sub-directory of the current site, called /CA I do not want to start messing around with file paths (for navigation and images), because the plan is to move the files in this sub-directory into a separate location in a few weeks. So the only alternative seems to be to move a copy of the site into the sub-directory and set it up as a separate application.What is the best way to set this up? Since the files in both sites belong to the same namespace and have the same names, how to avoid naming conflicts?
View 2 Replies
Jan 26, 2010
An abstract high level idea of where to begin as I am totally clueless at this point.
Background:
I am setting up an intranet site (ASP .NET) where users from our local user group (who are also added in our user table) will have access to web applications they are given access to. Right now I am developing from my PC and using SQL Server 2005 Express as the database, but the final site will be hosted on an application server with IIS 6.0 and the database on an instance of SQL Server 2005. I am a .NET newbie and it's a daunting task, but the experience is worth a million dollars.
Details:
We are using Windows Athentication for our intranet site. Therefore I am not using ASP .NET's membership data sources. Rather all the user information will be stored in two tables tblEmployee (all employees in my company) and tblUser (all users of the intranet site).
tblEmployee has fields - EmployeeID, FirstName, LastName, CostCentre, Role, ManagerName, UserID
tblUser has fields - EmoployeeID, UserID, ApplicationID, AccessLevel, AddedBy, DateAdded
(I have set up these tables and I can change them any time).
What I need to accomplish - When an user goes to the intranet site, I can get his/her domain username. I need to check if this user exists in tblUser (domain username is same as UserID in tblUser). If user exists, we display all the applications he/she has access to, else display a "no access" page.
Specific questions:
What are some of the things I need to "learn"? (as I said before, I am a .NET newbie, but a fast learner too) I need to use URLAuthorizationModule for validating a page request. How do I hide the username from the URL? I was thinking along the lines of using a session ID... but then how do I know who the user is? I am sure these is a way to encrypt the UserID, just can't find it.
View 1 Replies
Apr 28, 2010
I am trying to send an email using the gmail smtp server. I am trying to enter the SMTP settings into the Web Site Admin tool. I have set
Server Name: smtp.gmail.com
server port: 587
from: myemail@gmail.com
Sender's User Name: my real gmail username
Sender's Password: my real gmail password
I am getting the following error when I try to send an email as a result on using the CreateUserWizard after successfully creating a new user.
Code:
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. i29sm30127820vcr.12
View 2 Replies
Nov 16, 2010
We have a lot of domains running on one IIS WebSite/AppPool.
Right now we are in the process of implementing SSO with Windows Identity Foundation.
in web.config the realm has to be set with
<wsFederation passiveRedirectEnabled="true" issuer="http://issuer.com" realm="http://realm.com" requireHttps="false" />
My problem is that the realm is dependent on which domain the user accessed the website on so what I did is that I set it in an global action filter like this
var module = context.HttpContext.ApplicationInstance.Modules["WSFederationAuthenticationModule"] as WSFederationAuthenticationModule;
module.Realm = "http://" + siteInfo.DomainName;
My question is. When I set the realm like this, is it set per user instance or application instance.
Scenario.
User A loads the page and the realm get set to domain.a.com.
User B is already logged in on domain.b.com and presses login.
Since user A loaded the page before User B pressed login, user A will hit the STS with the wrong realm set.
What will happen here?
If this is not the way to set the realm per user instance, is there another way to do it?
View 1 Replies
Jan 5, 2010
I've received a website that uses sql server on the live environment. In the code at many places sql is created, say: However, locally on my dev machine, I use sql server express edition. It looks like select * from mytable doesn't work there, but instead I should use: How can I get my local site to work? Is there a setting I can change or am I missing something else?
View 5 Replies
Dec 28, 2010
I have a menu made of an unordered list:
<ul id="navList">
<li id="homeTab">
<%: Html.ActionLink("Home", "Index", "Home")%>
</li> |
<li id="ourMissionTab">
[Code]....
I find the controller:
<% string controller = ViewContext.RouteData.Values["Controller"].ToString(); %>
then I would like to set the class for the li according to the controller value. How do I do that?
Something like: if controller == "home", then set the class for the li with the home id to active.
I just started learning MVC and am very new to the syntax. when you respond to this posting provide syntax, as I am coming from code behind background.
View 2 Replies
Aug 11, 2010
I am having serious issue running a MVC web site from IIS 6 especially with Windows authentication mode. I know its very simple but missing some ting between. Succeeded configuring MVC on IIS 6. Now Trying to enable Windows Authentication mode on MVC Web Site, Steps included in my configuration
- enabled windows authentication mode in web.config
- Enabled Integrated Windows Authentication on IIS web site under Directory Security.
- Given permissions to a Domain group (eg: asiaDomainGrp) [Read, Write] Do i need to add ASP.NET Machine accountIUSR_<machines name> under this?
During the intial loading, I am trying to query Active Directory to get authenticated user's full name to display on default page, this is not success full due to some issue, later I changed to "HttpContext.User.Identity.Name". Now I could able to access Default page from the web server, but real heck is here. For some reason IIS is using NT AUTHORITYANONYMOUS LOGON.
[Code]....
I have separated two servers as Web server/Database server.
View 4 Replies
Apr 6, 2010
I want to include Microsoft AntiXss V1.5 library on my live site running in a medium trust setting.However, I got an error something like:Required permissions cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.I tried this in full trust setting on my development machine and everything works good.Looks like this will run only in full trust configuration.
View 2 Replies
Dec 22, 2010
Our site as it exists now utilizes only the bin file. We are going to re-migrate our site to use the .cs files to compile on the fly. What settings do I need to set to allow for this and what disadvantages if any are there for using the .cs files in prod?
View 3 Replies
Aug 5, 2010
I want to set up a web farm locally, but i really dont anything about how to do it,
steps or web links so i can start configuring it..
I've got 2 web servers locally having windows 2003 installed.
View 1 Replies
Oct 1, 2010
I am a PHP developer trying to set up hosting for an ASP website. The site works when hosted with the original host but I need to move it.
I have uploaded the files to oneandone hosting. I have set up a datebase and chnaged the database connection details but get the following error
Inner Exception Could not find stored procedure 'uspPageHit'.
The database connection looks like this:
<add name="site" connectionString="Data Source=[hostname];Initial Catalog=[databasename];User Id=[username];Password=[password]" providerName="System.Data.SqlClient" />
and the info on the one andone host panel provides :
database name, user name, hostname, password
Have I put the correct details in the correct place?
View 3 Replies
Aug 9, 2010
I have a web application(ASP.NET 2.0 and C#) in which I have configured connection string in web.config.
I may need to install it in different machines. So, time to time i may need to change the connection string based on the installed machine.
Is there any way to configure all these while installing the application?
View 1 Replies
Nov 22, 2010
I have an asp.net web appilcation created in .net 2.0 that is supposed to read and display the app settings from remote web.config (accessible from a shared location). Is there a better way(like reading from the application's web.config ) to read the app
View 5 Replies
Sep 30, 2010
How can I specify the DLL names in the bin directory when the application is deployed - even with "Use fixed naming and single page assemblies" option checked, it still appends "random" characters to the DLL name.
View 1 Replies
Jun 16, 2010
I need to make my IIS6 to handle sub domain request to the main website so that i can handle it by using HTTPHandler
But i don't know what modifications should be done on IIS to accept unlimited subdomain name requests
View 3 Replies
Sep 20, 2010
In c# code while debugging the folowing line
_objAccessApplication = new Microsoft.Office.Interop.Access.Application();
it gives the following error:
System.Runtime.Interopservices.ComException(0x80080005).Retrieving the COM class Factory for component with CLSID {73A4C9C1-D68D-11D0-98BF-00A0C90DC8D9} failed due to the following error: 80080005.
The above code works fine in the development server.But in the production server it generates the error. What could be the reason for this.
View 1 Replies
Jan 25, 2011
How to encrypt email setting in webconfig ?
<mailSettings>
<smtp from="abc@ddd.com">
<network host="174.xxx.xxx" password="xxxxx" userName="abc@ddd.com" port="25"/>
</smtp>
</mailSettings>
View 5 Replies
May 16, 2010
I am adding a 2nd web site to our pubic server and am noticing the SMTP delivery trying to use the default SMTP Virtual Server which is set up for the 1st web.
I created a 2nd virtual server with new smart host and credentials for the new site but need to modify the config file.
I tried using the host name = smtp virtual server 2 name.
Both webs use relay to a host for delivery
Here is my config file
<mailSettings deliveryMethod="Network">
<smtp from="admin@xyz.com">
<network host="xyz.com" />
</smtp>
</mailSettings>
I figured it out. Sometimes you just have to ask someone the question. I changed the network to IP address 192.168.56.11 instead of name of server.
ie <network host="192.168.55.11" />
View 1 Replies
Feb 14, 2011
I have Visual Studio.When a create a new ASP website (so not a project), I can go to the configuration management and enable roles and an aspnetdb.mdf is automatically created in the app_data directory.When I create a new ASP (MVC 3) project, the configuration management says: can not load MvcApplication1.MvcApplication .Is there some configuration setting for this?
View 3 Replies
Feb 24, 2011
i set in web.config timeout session for 1 min.and after it expires i want it to move the user directly to the home page i have tried:
<!--// session timeout-->
<system.web>
<authentication mode="Forms">
[code]...
View 3 Replies