Connect VS 2008 to My remote IIS 7 site [closed] - asp.net

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am trying to connect Via 2008 to a remote IIS 7 site on windows server 2008. I have installed the front page ext on my server and assigned users/roles to my various sites. When I try and connect via vs 2008 it prompts me for user name and password but will not connect. It seems like a simple issue but I cannot figure it out. What authentication modes must be enable on IIS. Anyone have any sugestions
I am not running ftp on the server in question. When the drive was shared VS could access the directory fine. IIS is running windows authenication mode.

Make sure the VS2008 user has windows permission to access the target folder(s).
Make sure the firewall (windows and external, if there is one) has the proper ports open.
If VS2008 is using FTP, try active instead of passive. If that makes a difference, there are some special things you can do to make passive FTP work.
Make sure IIS is set up properly for ftp and/or front page extensions, application pools, etc.

Related

Configure and host asp.net website on VPS Server? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
It's the first time that I owned a VPS server(provider is constant.com).
I have googled out about it but no luck and not sure how to configure and host asp.net website.
I've worked on my website for a while and now it's time to let it go for online test. I have a VPS and a domain.
I am familiar with cPanel but constan's support team says that cPanel not supported on windows os server. Is that normal?
Therefore, I need to connect remotely through Remote Desktop.
Do i need to install Visual Studio and MS SQL Server on VPS? If so, how's it possible?
Can i install cPanel on windows based VPs server?
What i need to do to configure and host my website with my owned domain on virtual server?
Any guides and suggestions would be appreciated.
Thanks
You dont need to install Visual Studio unless you are planning to code on it. You can still use your local installation and upload updates from there. If your project needs SQL then you should install it on the VPS. As an option you can use dedicated SQL hosting at additional cost or Windows Azure SQL.
Yes you can install cPanel or such if cPanel not supported (like anything else) but I dont think you need. Thechnicaly a VPS allows you to do same things you can do on any phisical server. And your hoster gives you local admin rights. So you dont need any hosting panels in addition to OS tools you already have.
It is very depends from what your project needs. You might need to configure IIS server on that VPS. You need to setup DNS record to allow users to use domain name instead of IP (use your domain registrar panel). You also might want to install Microsoft Web Deploy which will help you to deploy your project directly from VisualStudio. If you plan to use SSL, you will need to get a cert and install on your VPS and setup IIS to work with.
There is nothing super special than you wont be able to do. So congrats with your first VPS and good luck!

Active Directory + IIS + SQL + ASP.NET [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have installed Windows server 2008 r2 on a virtual machine, Can I install Active directory with domain controller + IIS + SQL server on the same machine? I want to make web application and this web application will authenticate users from Active Directory, the web application should be published on the server IIS and the users should access it remotely from their home using domain name of my machine, Someone tell me that its very wrong to have IIS and Active directory on the same machine.
You can't use ActiveDirectory over the internet. At least not without something like a VPN as a middle man. Their home computers will not be joined to the domain, so there is no pass-through authentication.
Yes, it's a bad idea to put AD on the web server. Why is too complex to get into in an answer here. Suffice it to say that even if you did do this, it's probably would not work the way you are thinking it should.
It's not impossible to do this. For instance, many of the Microsoft "Small Businesss" products put IIS, AD, and SQL Server on the same server. But, you kind of have to know what you're doing to configure it securely.
Can I install Active directory with domain controller + IIS + SQL
server on the same machine?
Yes. Not usually recommended, but certainly possible.
the web application should be published on the server IIS and the
users should access it remotely from their home using domain name of
my machine
If you intend to use Windows Authentication, it is challenging to get that to work correctly; you will probably need a VPN as a minimum. If you just want them to type in Windows credentials, then do you really need a domain? Could you just use regular Windows users?

Hosting a domain on IIS 7.5 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there a step by step guide on how to host a new domain name on IIS 7.5? Configuring everything, email, FTP, IIS, etc ...
Thank you & regards
Bilal
Hosting Applications on IIS 7
I'm in the process of writing some step-by-step guides right now. They'll be available in a few months. In the meantime, I suggest you check out the following: IIS 7 Installation and Deployment
Do you have Windows VPS or a Dedicated Server?
I don't have step by step guide (lengthy work) for Configuring everything like IIS, mySQL, etc ... but the following link may be useful ... http://support.microsoft.com/kb/323972
For our clients, What we do is, we install WebsitePanel on their Dedicated Server / VPS server and then configure all other services like IIS, mySQL, SQL Server, etc ...
Basically, we deliver them ready to use web servers, where they can start hosting their websites immediately.
Just PM me and I will see what I can do for you to get you rolling ...

IIS 7 - Windows Authentication not working [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
We have several web apps that use Windows Authentication that worked fine on IIS6. After deploying them to IIS7, Windows Authentication no longer works (we get 401.2 errors) UNLESS we set the web app to use the "Classic Pipeline"
I realize that Forms auth and Windows Auth aren't simultaneously supported as mentioned here and here - but that is not my issue - I dont have Forms Authentication enabled. I only have Windows Authentication enabled - but I am always getting the 401.2
Has anyone run into this? Is there something else I need to do?
Thanks!
-Mike
There are two immediate thoughts: (1) is Integrated Windows enabled on the server as a feature in the role (2) is the authentication configured in the right part of web.config? IIS7 stores some of its configuration is web.config, and moving from IIS6 to IIS7 often involves adding extra information.
See also: http://forums.iis.net/t/1153827.aspx
A lot of the settings in the web.config move from system.web to system.webserver when changing from classic mode to integrated mode. For example custom httpmodules move into system.webserver. Do you have any httpmodules that are handling custom authentication?

How can I use a local SMTP server when developing on Windows 7? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can I get SMTP to work on a Windows 7 development box? I used to just be able to turn on the IIS SMTP server on Windows XP. Is SMTP not included with Windows 7? If so, what can I use instead as a free relay mechanism?
If you are developing in ASP.net using the built-in mail libraries, a lesser-known configuration setting is to use the following:
<configuration>
. . . more config stuff here . . .
<system.net>
<mailSettings>
<smtp deliveryMethod="SpecifiedPickupDirectory" from="noreply#testdomain.org">
<specifiedPickupDirectory pickupDirectoryLocation="c:\smtp\"/>
</smtp>
</mailSettings>
</system.net>
</configuration>
All your application generated emails will be dumped into this directory during development. No smtp server needed!
SMTP isn't included with Windows Vista, either - you'll have to download and install a free third-party SMTP server. There are a number available - http://www.softstack.com/freesmtp.html being one.
UPDATE: Some more options - Vista's IIS Instance doesn't have SMTP (Solutions?)
You can use Google's as a free relay, however you need to have a Google account.
smtp.gmail.com
Just make sure the ports are setup as defined for your account.
According to this post, the issue an SMTP server was included in IIS6, but has been removed in IIS7. This thread suggests the Remote Server Administration Tools (which include a SMTP server), as long as you don't have the Home edition of Windows.
I use "Free SMTP Server" from Softstack.
http://www.softstack.com/freesmtp.html
HTH
For those still coming across this, I've played with the two servers suggested above (freesmtp and hmailserver). Freesmtp is very quick and simple and worked out the box but only lets you send 10 emails a day without paying $69. hmailserver takes longer to set up (although still fairly painless) but has more features and hasn't asked me for money (yet).
I had the same problem, and I installed hMailServer.
http://hmailserver.com/

Resources