Configuration :: How To Access Local Server Data Through Internet
Apr 7, 2010I Have developed an asp.net application. The application has been configured in my office local server not in the internet.
View 5 RepliesI Have developed an asp.net application. The application has been configured in my office local server not in the internet.
View 5 RepliesI hosted my web application in localhost.Now i need to test it from any where.Can i access my local host through internet using public IP?
View 1 RepliesI want to Access remote server( ie., want to access online server not local server) in my Application.. I change Settings in SQL surface Area Configuration---> Remote Connection ( checked the Local and Remote Connection ) Then while running the application it showing the following error.(I make off the firewall also) An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
View 1 Repliesmy application raises security issue while saving data from server to local machine.but everything working well locally.
View 2 RepliesApp works well on local intranet, but having problema on external access?
View 4 RepliesI downloaded WebMatrix thinking I could create a local Intranet page and simply host it from my server. Can I do this with WebMatrix? If so how?
View 1 RepliesI am trying to host a site on my local system and also tried it on my university server but am finding a great difficulty hosting the site. The site is made in ASP.NET C# and also have silverlight application in it. I am not able to configure or wither host the site on the server. I am having IIS 7 and Windows 7 as the OS. I have enabled IIS 7 on it. (I am using the SQL Server 2005 Express Edition and have almost no knowledge on hosting on IIS 7)
View 2 RepliesThere's a project I'm doing now which is an ASP.net 2.0 written website with SQL database. (it was just assigned to me for deployment and no contact to programmer who is AWOL :-)
Scope of project is to move everything from live site to local server and display/execute exactly the way it does on the livesite (web).
Already configured Windows 2003 server as IIS and successfully restored the database through SQL 2008.
Since I am new to ASP.net deployment this is where my trouble starts: manually copied httpdocs folder to local server, copy website through MS web developer and tried to run it on local machine http://127.0.x.x/default.aspx for the home page. from there I am getting a server error log specifically the line " <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">"
I know I have some work to do in here I do want to call the attention of ghw123 since he
is familiar with the dynamics of IIS and moving websites. Another thing I would like to point is the local server doesn't display any IP address when running ipconfig or ping from command prompt i simply pull out the ip info from the running IIS service itself. Lastly, I need to figure out which file/folders are really running on the livesite since there are lots of them (for other purpose maybe) on the remote server it is hosted.
I am using LocalReport class to render reports locally and then converting reports to pdf format and displaying to user. This works fine on my local machine but gettting error 'Object reference not set to an instance of an object' when deployed to the development site. Do we need to install anything on the host server for localreports to work correctly?
View 2 Repliesi got this error on live server after uploading. On local server it's working fine Unable to validate data.ource:
System.WebTargetSite: Byte[] GetDecodedData(Byte[], Byte[], Int32, Int32, Int32 ByRef)
StackTrace: at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength)
at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString
I am having 5 systems connected through LAN.Now I am creating a web application in server and want to retrive that web application through all the systems so that other people can able to access it andwork with different pages in the application.Is this possible?If yes pls send me the steps how to do that?Same with database also.Pls respond me ASAP.
View 3 RepliesWith the project I'm working right now, the team and I don't believe the network/computer policies will allow us to create and save Excel files on a local machine through the Web pages we're building. Well, let me clarify. When we run our web pages on our development machines, when we go to save information to excel through the web page, it uses our local excel executable. However, we want it to use the web server's excel executable. When we run the website, we're running individual local copies because we don't have a web server to test on, so we can't verify if it will use the Web Server's or ours. Does anyone know what it will do, or if it has to be programmatically set a specific way to use excel on the web server, and not on the local machine. Once we get the Web Server to use excel, we'd save the file to a network share that would allow the user to view the file.
View 2 RepliesI am new to the asp .net (c#) technology.I got an assignment to work on a existing C# project which is alreay live and working.I have downloaded all the code files from the given FTP server on my local server.My Local Server Environment Details :OS - WinXP.NET Framework Version - 2.0 ( There are different versions on the machine i.e. 1.0,1.1,2.0,3.0,3.5 but through IIS i have enabled 2.0 because the application is developed in 2.0)Visual Studio - 2003 In the downloaded source code i did not found any solution file to open the project in Visual Studio , So i created the new project and by using the add existing elements i added all the project files to the newly created project.Am i doing right way.Will my application will work when i will upload the code on live server because the solution file would have mylocal machine configuration.Suggest me how can i proceed in long term vision so that in future i do not face any problem during application release.
View 1 Replieswhile running my aspx pages on local iis 5.1 of my system, it doesnot shows the images and also when i tried to login with the same credentials that i was using with visual studio2005 it always give me error of wrong credentials
View 1 RepliesMy background image is not being applied when I switch over to using the local IIS server.
It's defined as:
<%@ Page Language="C#" StylesheetTheme="Common"...%>
VS Web Server: http://localhost:33174/Index.aspx = OK
Local IIS Server: http://localhost/MyApp/Index.aspx = background not showing
My Common.css class is defined as:
#masthead {
height:60px;
background-image:url(/images/bg_masthead.gif);
background-repeat:repeat-x;
}
I have data in database and that database is in the ip address .this ip address includes the data when i run the application it will give me all records but after the publish it will show me less data.
View 1 Repliesi developed an asp.net web site and i used ModuleRewriter to rename my pages you can refer to this link [URL] and i want to add many pages programatically at run time for example i have a page named :
[URL]styles/defaultstyle/Default.aspx
and i want to display this page like this :
[URL]Default.aspx
so my code was like this :
public static void confgrewriter()
{
try
{
RewriterRuleCollection rules = RewriterConfiguration.GetConfig().Rules;
RewriterRule r = new RewriterRule();
r.LookFor ="~/Dfealut.aspx" ;
r.SendTo ="~/styles/defaultstyle/Default.aspx";
rules.Add(r);
}
catch (Exception ex)
{ }
}
and this solution is working very good on iis at my local machine but when i did upload this website on shared host i recive error message: The resource cannot be found.
Description:
HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. review the following URL and make sure that it is spelled correctly.
I have used a dll named MARCEngine, which is used to read Marc data. I use a method named MARC2MARC21XML which converts a normal marc file to an XML file.
The problem is it works great on my local IIS, but when I upload it to the production server, it only generates the root node and not the child nodes.
Here is a snippet of my sample page :
[Code]....
Asp.net has the permissions to access the files geneated.
I'm using one XP with SP 2 as my local Laptop PC . Its IIS has one default web site, of course, which is the site I'm working on. When some feature is finished I deploy it to my "production" site which is hosted somewhere else. Very common situation, I guess. This app uses email to notify customers of some particular events. Works on production, but sometimes I need to change something in the way those notifications work. Currently I have to upload the changes to "production" to check it out. Is there any way for me to set up smtp server on my local machine so I could work locally with those features?
View 3 RepliesI have created a virtual directory in IIS(7.0) to create web application using visual studio 2010 ultimate edition. But when i open the Browse option in visual studio to create http hosted website , it vs2010 keeps on teling me that i need to have IIS Component installed. below is the eror message;
To access local IIS websites, you must install the follwoing IIS components
You must run Visual studio in the context of an administrator account. For more information, press F1
NB:i have installed the IIS 7.0 and its running fine
OS: windows7 Home Professional
I have an application running on my Home pc and with which i also have expose a webservice. But it is on my local machine.
My question is that i dont have any webserver purchased and i want to call my this local webservice from any where on internet. Is there any free service available on internet which can proxy my local webservice on internet?
I can't figure this out. I have a simple ASP.NET application that I am hosting on my computer which all local computers can hit. The next thing I want to do is setup the website for public access. No matter what I can't seem to get it to work.
- I have allowed incoming connections to port 80 through the firewall.
- I have setup my router to port forward all HTTP requests (80) to my locally assigned IP (192.168.1.XXX).
- I have setup my server to use anonymous authentication, which is set to "Application pool identity".
- I have even shut off my firewall to try and see if it would work.
Can't figure this out. Read a bunch of information, and in my head this should work, but it seems like I am missing something simple. I realize this thread's subject matter applies to IIS7 more-so than ASP.NET, however since I am relatively new to ASP I figured maybe I missed an ASP setting or something.
my projects image files hosts on a local server machine which name is A.
another server hosts my web projects on IIS which name is B.
I want to set my web projects's image file names like image1.ImageURL = "A\foldername\image.png";
but when the projects runs the image file url gets the image url adrress : [URl] I must access the image files which are another server machine on my local network area and I must get the ImageUrl properties from another server machine
Problem: I need to move a local development database to the production server without any of the test data.
I am running SQL Server Express 2008 and SQL Server Management Studio 2008.
To create my ASP.NET Membership 2.0 system I created the DB initialy and ran aspnet_regsql.exe
I then added my own tables manually to store additional information.
I adjusted the web.config file with an application name.
When I ran a sript the application ID name was created and populated in the aspnet_Applications table. My script created a new member created and added to the admin role. Ok so everything go so far.
Now I want to move the local DB to the server. I know the connection string and can change this in the web.config.
My hosting company doesn't provide restore, so I don't think I can backup and restore
Q 1. What would be the best way to move the database across. Bearing in mind I need to clean the database out of test data.
Would it be just generate an SQL Script for the database and run it as a query on the server? And if this is the best way then do I need to set the permissions for the ASPNET user?
Q 2. What is the best way to clear out the data in the local database.?
In my site on every load some session is made through url and single page(say xyz.aspx) is call every time and on the basis of url we create session. When i click on a href tag , page start reloading ,url we created is accurate but data doesn't change every time, means some time it show data on first click, but some time after 3 or 4 click.
I say problem is weird because when i run this on my local server there is no problem, when i run this on my project (visual studio) there is no problem , but when i up this project on my online server it show this kind of error but not every time .
I use data caching to fill dataset. There is no problem in this website since we created this (more than 1 year) and we don't made any change on this page but suddenly it starts showing this kind of error so what kind of error this is.