I have this peace of code inside an aspx Web Site:
var tfs = new TeamFoundationServer(tfsurl
, new tworkCredential("", "")
, new UICredentialsProvider());
tfs.EnsureAuthenticated();
When I run it on local machine through Visual Studio I get a windows Log in form. But when i upload the site on the server the forms doesn't come up.I was told that there are some permission for this but i can not find them.
I am using IIS 7 and Windows Server 2008
Thanks!
Related
I have just started to debug a Classic ASP website. The old development environment was running in a VM machine on Windows Server 2003.
I have created a new Windows Server 2003 R2 server and have transferred the website.
The site also uses 11 ActiveX DLL's written in VB 6.
I have moved them over and used regsvr32 on all of the DLL's to register them and all appears well.
When I try and view the web page however I get the Error:
MX error '800a01ad'
ActiveX component can't create object.
/includes/somefile.asp, line 16
If I create a basic asp page, the page is served from both the root of the website and the virtual directory /includes fine.
Thanks
Some other VB6 activeX dependencies were discovered. Registered them, now working sweet.
I am trying to host a asp.net razor v3 website to IIS, but it is not working. I tried multiple options including first creating the website then publishing to IIS, or directly creating a new website under IIS using visual studio 2013. It gives me HTTP Error 503. The service is unavailable.
Methods to reproduce Error:
Option 1
1) Create a new asp.net web site (razor v3) in visual 2013, and click publish to publish to a directory. Then, add that directory as a website in IIS.
Option 2
1) On the new website window, in visual studio 2013, go to browse and select IIS, and create a virtual directory directory under IIS to save the site.
Then, go to the browser and try to access the hosted site: localhost/sitename, it always produces some kind of errors. Like 503. What am I missing? Please help, looks like I am missing some steps or some configuration changes.
Also, I am trying this with the default razor v3 webiste content and without modifying anything. So, I have not touched any files or anything, I am just trying to upload to IIS.
The correct answer I found was that for some reason you must use the IIS Express 8.5 to test/host that site.
Even the installations on the fresh copies of Windows with Full IIS prior to version 8 did not work on my test machines.
Environment: 64 bit Windows 8
Platform: Visual Studio 2012, SQL server 2012, IIS8
Language: C#
I'm currently creating an asp.net web application using a tutorial from msdn. The site runs fine and is visible in google chrome when I select the run button. I published the website to a folder on my desktop and am attempting to host it through IIS. The main issue I am having is trying to figure out the full computer name so I can update my connection strings in the web.cong.
The connection string is as follows:
connectionString="Data Source=(LocalDb\v11.0);"
When I try to browse the website in IIS I get a database error because I'm not defining the full machine name in the datasource attribute. I'm in a workgroup and am not on a domain. Also I can't log into sql server with just my ip address. I can only log into sql server with (LocalDb)\v11.0.
Can anyone help me find a way to determine what the value of my data source should be so I can possibly hit the website externally? Has anyone run into this problem on a home pc without a domain? I have done this on my work computer many times but have never tried to host anything from IIS on my home computer.
I'm using visual studio 2012 and i have a windows form app. the iis express server is configured by default with visual studio 2012.
I have to publish my windows form app. For that, i have create a storege object on azure platform.
But when i try to publish the project using clickonce i have that issue :
Error 83 The Web server does not appear to have FrontPage Server Extensions installed. If FrontPage Server Extensions are installed, this error can occur because the _vti_bin virtual directory is not marked as executable. To correct this problem, run Internet Information Services Manager, select the Web server that has the problem, and then use the Check Server Extensions command.
Screen shot :
https://docs.google.com/file/d/0B-aV0dsLT4CaemZuQV93Ymt4UVE/edit?usp=sharing
I had no issue during the creation of my storage object on azure, and the URL is good !
I have installed de FrontPage Server Extension several times and normally it's good.
i really need to publish my project, if someone can help me ...
Thanks for help.
You are trying to do HTTP publish to a server that doesn't have FPSE installed. FPSE was no longer available after Server 2008 (I'm guessing here, I just know it's not available for newer versions of Windows Server).
Instead of doing HTTP, use FTP. So you FTP the files to the web server, and use an HTTP link for the customer to access them.
For example, your publishing file location might be
ftp://myserver.com/myfolder/
and your installation URL would be something like
http://myserver/thefolder/
I've created a simple asp.net application to open a site and display the title of the corresponding web. But i'm getting FileNotFoundException while trying to open the site. The same code works perfectly when i run it in a console app.
My spec
Windows Server 2008 R2 x64,
SharePoint 2007 x64,
Visual Studio 2005
My target for the asp.net app is set to 'Any CPU'.
As far as permissions is considered i've checked that the current identity using under which VS2005 hosts the asp.net app is having full rights. In fact i've used the same identity for app pools in IIS.
As an asp.net web application
As a console application
Any ideas?
Code
using (SPSite site = new SPSite("http://dev01/"))
{
using (SPWeb web = site.OpenWeb())
{
Response.Write(web.Title);
}
}
Right click on the solution -->proterties-->Debug-->Start browser with url->here provide the url (("http://dev01/").
When developing a solution for SharePoint 2007 with VS 2010 i'm getting this problem. When i create the same solution with VS 2005 i dont have any issues. I guess some of the dlls are mismatching between x86 and x64. Guess i would need to tweak a bit to make VS 2010 working with SharePoint 2007.