VS 2010 - Setting Up App On Local Intranet

Jul 14, 2011

I started working on an ASP.NET web app for my companies local intranet. While coding it, I emailed our IT team, to get an intranet domain/server setup.

So, they emailed me back with the server credentials+the domain. But, I'm not really sure what to do from here.

How I need to setup the server and ASP.NET settings to get everything working?

View 7 Replies


Similar Messages:

C# - Disconnecting Users Terminal Service Session Via Local Intranet

Aug 11, 2010

I have written code that uses a .bat file (code: rwvinstat /server:servername) that populates a DataGrid of users logged in to a terminal service session in c#. The .bat lives on the server with the app. files and will run properly if executed manually on the server .Also if i run the app. locally and call the .bat file on the server it works fine.

The problem is when i deploy my web app on the server the DataGrid never populates nor do i get any errors. i have given full permissions to IUSER_MACHINENAME(and various users) and i set the virtual directory permissions to read, run, execute. Ialso have set my web.conf fig to:< "identity impersonate="true" userName="username" password="password"/> Here is my Source code:

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.IO;
public partial class ilsap01_users : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo("C:\listUsersIlsap01.bat");
psi.RedirectStandardOutput = true;
psi.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
psi.UseShellExecute = false;
System.Diagnostics.Process listFiles;
listFiles = System.Diagnostics.Process.Start(psi);
System.IO.StreamReader rawUserData = listFiles.StandardOutput;
listFiles.WaitForExit(20000);
try..................

View 2 Replies

Configuration :: App Works Well On Local Intranet, But Having Problema On External Access?

Nov 3, 2010

App works well on local intranet, but having problema on external access?

View 4 Replies

C# - Setting Up An Access Controlled Intranet Site?

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

Web Forms :: Find Printer Under Local Network (Intranet) And Print Without Dialog

Jul 19, 2013

I want to Find the Printer under the Local Area network(intranet). 

After press print button, its give printout with out popup the print-window. is it posible in web allplication. if its posible means how can i approch.

View 1 Replies

Setting Up Decent Local Development Environment For C#?

Jan 18, 2011

I am experienced php developer and I have everything setup for design/development/testing etc and I can develop locally on my machine using wamp. My question is, what should I be looking into for setting up a professional local development environment for developing web applications?

View 2 Replies

Howto Get Local Site To Work - Setting To Change The System

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

VS 2010 - Reading Local File With Silverlight?

Mar 29, 2011

it may not have to do with silverlight as such, but a "security" issue. I appologize if that was wrong.

I´m having a go at silverlight...

I want to display large amount of data in good looking charts. Ideally, I would use a web service. However none of the tutorials I´ve watched works. There´s always some component or class missing.

So I figured I´d do it the "ugly" way, creating a xml file from a dataset, and then reading it in the silverlight app.

Now when debugging, I use a local file, which is apparently not permitted

But there must be a way around it right?

View 2 Replies

Visual Studio :: 2010 - Can't Open Local IIS?

May 6, 2010

I've just downloaded VS2010 Express to play with on my personal laptop. However, when I try to open an existing website through the "Open Web Site..." / "Local IIS" button, the system trundles on for a bit and then says: "To access local IIS Web sites, you must install the following IIS components: In addition, you must run Visual Studio in teh context of an administrator account."

Note the blank line after the "you must install...." [strikeout]Is this a limitation of the "Express" editions of Visual Studio? [/strikeout] I've just installed VS2010 Premium from our MSDN DVD and it has the same problem.... Also, seems to have broken VS2008 as well since I can no longer browse Local IIS from VS 2008 either. Good thing I installed this on my backup machine first and I can still get work done on my main development machine!

View 12 Replies

VS 2010 - Access Local File System

Apr 26, 2012

I have an ASP.NET page that I need to have access the local file system. It's an intranet. I need to download a zip file and an executable to a temp location and then run the executable.

Then afterwards, I need to delete the contents via an ASP.NET page.

Is there any way to access the local file system? Generally, I would think this would cause a security concern, but I've seen posts about Silverlight being able to access it.

View 4 Replies

VS 2010 - WebMethod Accessing Local Constants?

May 31, 2013

I am doing an AJAX call back to a WebMethod but in the code behind webmethod I cannot use any of the constants at the to of my form. What I want is to gain access to sessions and my sql connection string.

View 12 Replies

C# - How To Correctly Debug Web Application On Local IIS 7.5 With VS 2010 Beta2

Feb 20, 2010

I'm sort of new to developing Asp.net webapplication projects while running them on a local IIS. Till now I used the 'Use Visual Studio Development Server' option.

I'm using Visual Studio 2010 Beta 2.

Edit: less complex sample code

Following code sample:

List<string> _list = new List<string>();
_list.Add("asd");
_list.Add("asd2");
_list.Add("asd3");

Now I want to debug / step through some line of codes with _list. While using 'Use Visual Studio Development Server' I can see the contents of _list in the quick watch. If I select 'Use Local IIS Web server' and debug through the same piece of code, the quickwatch tries to display me the same values by showing me a spinning wheel for about 10 seconds with a resulting 'Function evalutation disabeld because a previous function evalution timed out. You must continue execution to reenable function evalution' message.

Afterwards I get a windows error dialog with 'Unhandeld win32 exception occured in w3wp.exe [844] The Just-In Time debugger was launched without necessary security permission..'

I do run Visual Studio 2010 Beta 2 as Administrator. I start debugging by pressing F5. It seems that I can't really debug this way. Do I somehow have to attach the VS debuggerto the IIS process? If yes, how to do so?

What am I doing wrong, and how to solve it?

And by the way, is that erroneous behaviour new in VS 2010? I've never expierencied that in VS 2008.

View 2 Replies

VS 2010 Generate Local Resource, Why Does It Check Out The Web.config

Nov 18, 2010

Why when I generate local resource does it check out the web.config. I've done a comparison after the process has completed and the web.config hasnt changed.I'm using TFS 2010 Basic.It's not a big issue but I would be interested if anyone knows the answer.

View 1 Replies

VS 2010 - Setting Up Email Form For Website

May 9, 2012

I've designed and built this form using Visual Studio 2010 in design mode and set the appropriate controls for each function example txtemail for the text field. Here's a link to the form I did so far you may view my source code, the mission im trying to accomplish is to reset the form by clearing all fields and clearing all validations.

I'm currently studying the Asp.Net VB in TAFE too.

[URL] ....

View 6 Replies

VS 2010 / Setting Image Button URL In Code Behind?

Sep 16, 2014

I created an image button in my header template. When clicked, it calls the Sorting method. When I change the image url in code behind, it does not render. By setting a break point, I can see the property being updated, but I assume it is getting overridden by the default I set in the HTML page.

Code:

<HeaderTemplate>
<span>Claim Id</span>
<asp:ImageButton ID="btnClaimIdSort" runat="server" ImageUrl="~/Styles/UpArrow.ico" OnClick="Sorting" ToolTip="ClaimId" />
</HeaderTemplate>

Code:

protected void Sorting(object sender, EventArgs e)
{
var sortButton = (ImageButton)sender;
// parse new sort
var newField = sortButton.ToolTip;
// parse existing sort
var existingSortArgs = this.ClaimSort.Split(' ')

[code].....

View 2 Replies

Installation :: Cannot Connect To Local Host Error When Creating Web Pages In Web Developer 2010

Jun 4, 2010

I'm new to ASP and was hoping to get some hands-on experience of web development, but have been having trouble getting started.

I followed the instructions in the [URL] setup video, and downloaded and ran the plaform installer. I noticed that the "Web Platform" section of the installer was didn't have the "Web Server" section at the top, as shown on the instruction video [URL] but it otherwise seemed to install ok.

When I tried to follow the tutorial videos on [URL] using MS Visual Web Developer 2010, I am unable to debug the application. The web page it loads just says: "The webpage "localhost:xxxxx" cannot be found" (where xxxxx is the five digit random port number).

I've tried uninstalling Visual Web Developer, and the various Microsoft .NET and SQL Server using the Vista uninstall functionality of the control panel (as bet as I could -I'm not sure if there was something I missed), and then re-installing, but I still get the same problem.

I've tried to find a solution on some developer forums, and I noticed there are posts relating to webdev.webserver.exe relating to the error message I've been getting. However I haven't been able to find any info on this for VS 2010.

I've checked, and I don't have webdev.webserver.exe in C:Program FilesCommon Filesmicrosoft sharedDevServer or in C:WindowsMicrosoft.NETFrameworkV2.0.50727, although I do have WebDev.WebServer20 and WebDev.WebServer40. inC:Program FilesCommon Filesmicrosoft sharedDevServer 10 (I'm not sure if one of these is the equivalent files for VS2010.)

I've also made Internet Explorer my default web browser, since some of the forum posts mention this. My firewall is on, but I don't get any error messages relating to the firewall when I run the app. However, I wasn't sure whether there was a particular program I should add to my "allowed" list before running.

I ran the diagnostic tool: [URL] and I get the following output:

THE FOLLOWING SCRIPT will check to make sure that .NET Framework 3.5 is installed properly and will tell you what is not configured appropriately WINDOWS VERSION: 6.0.6002 POTENTIAL ERROR: REGISTRYDUMP: reg query "HKLMSOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727" /v "SP"

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727 SP REG_DWORD 0x2

ERROR: NetFx2.0 SP1 is not installed POTENTIAL ERROR: REGISTRYDUMP: reg query "HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0" /v "SP"

HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDPv3.0 SP REG_DWORD 0x2

ERROR: Netfx3.0 SP1 is not installed

I presume there's been some problem with installation and setup. However, I'm not sure what exactly I need to re-install (if anything) to fix it.

View 11 Replies

Visual Studio :: VWD Express 2010 - Setting Up Virtual Web Application

Jan 14, 2011

I'm using FCKEditor, and have downloaded a plugin for it. This plugin requires the folder (called 'integration') to be set up as a virtual application. Now I've managed to do this with my web hosts, but I want to do it locally too so I can test it locally. how to convert this folder into a web application? At the moment, all of the aspx pages cannot see an object which resides in the integrationin folder.

View 1 Replies

C# - Application Finds Local Resource Files In Web Development Server But Not Local IIS

Sep 22, 2010

When I run the application using the Web Developer it works fine. However when I run it using local IIS I get the following error:

The resource class for this page was not found. check if the resource file exists and try again. Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The resource class for this page was not found. heck if the resource file exists and try again.

Source Error:

Line 81: private void PopulateLanguageList()
Line 82: {
Line 83: DropDownListLanguage.Items[0].Text = (string)HttpContext.GetLocalResourceObject(
Line 84: "Default.aspx", SelectLanguage, Thread.CurrentThread.CurrentCulture);
Line 85: }

Stack Trace:

[InvalidOperationException: The resource class for this page was not found. Please check if the resource file exists and try again.]
System.Web.Compilation.LocalResXResourceProvider.CreateResourceManager() +4038050
System.Web.Compilation.BaseResXResourceProvider.EnsureResourceManager() +23
System.Web.Compilation.BaseResXResourceProvider.GetObject(String resourceKey, CultureInfo culture) +24
System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName) +32
System.Web.HttpContext.GetLocalResourceObject(String virtualPath, String resourceKey, CultureInfo culture) +56
APPortal.Login.PopulateLanguageList() in c:inetpubwwwrootAPPortalDefault.aspx.cs:83
APPortal.Login.Page_Load(Object sender, EventArgs e) in c:inetpubwwwrootAPPortalDefault.aspx.cs:20
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
System.Web.UI.Control.OnLoad(EventArgs e) +132
System.Web.UI.Control.LoadRecursive() +66
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428

View 1 Replies

When Publish Website To Local Folder And Access On Local Pc, Java Script Files Did Not Work

Mar 29, 2011

I created a website using VS2010. When I run the website using built-in web server, everything works fine. The website recognizes javascript and aurigma uploader. When I publish the website to local folder and tried to access using IIS 5.1 on local pc,
the java scipt files did not work. I was getting yellow triangle sign at the bottom of the page indicating the object is expected. I tried to look online but i could not find any answer. I have included jquery and javascript file in the header section of master

View 3 Replies

Hyperlink To Local File - Local Drive Letter And Network?

Oct 1, 2010

There is a hyperlink to a local file...for instance....C:/text.txt. This is not possible, because ASP.net does not allow links to local files. But, links to files on network drives such as W:/test.txt are working ok. how does the browser know which drive letter is local,and which is networked? How does it know that C: is local or D: is local etc, and that W: is a network drive?

View 1 Replies

How To Get The Local Smtp Server Info From The Local Machine?

Jun 1, 2010

How do I get the smtp server address for the local machine? I want to my email address on a windows form and have the user send me an email and I need to be able to get their smtp server address programatically to do this. I tried this:

System.Net.Mail.
SmtpClient smtpc =
new
SmtpClient("127.0.0.1");
smtpc.Send(email);

It caused an exception.

View 3 Replies

Localization :: Cannot Fix Or Limit User To Setting PC Regional Setting To UK

Dec 23, 2010

I have develop a web application. I have put my web application in my server and user can access from any location.

My server regional and setting is English (US). Now my problem is

1) When user access to my system and his pc setting is English (UK), it will prompt and error

and after i debug i suspect it is because of Datetime conflict (dd/MM/yyyy and MM/dd/yyyy)

2) I cannot fix or limit my user to setting his/her pc regional setting to UK

So what can i do in my web application solve this issue?

(Can i write any code in my client side (.aspx) to convert or do standardization to US)

View 2 Replies

Setting A JavaScript, JQuery Setting From Code Behind

Feb 11, 2010

I would like to set a value:

[code]....


...where [HERE] is the placeholder for my value, from my code behind in ASP.NET before the page is rendered. I generate a guid, and I need that apart of the script on the page.

View 2 Replies

How To Browse Webpages In Intranet

Jan 25, 2010

how to browse my web (aspx) pages in intranet

View 1 Replies

How To Host Website Within Intranet

Mar 9, 2010

I'm new to .NET. And created a website using

ASP.net 3.5 (.aspx as frontend)

VB.net(aspx.vb as backend)

SQL Server 2000 as backend

Now I want to host the site within our intranet network. But I can't.

I don't know about web.config in detail.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved