Access Webpage On Lan Or Remote Location Running On VisualStudio (2008)?
Jan 23, 2010
I am deving a webpage. For testing purposes i want to access the webpage via my VM and possibly ask a friend to mess with it remotely. The app is running in visual studios 2008. I put set my router DMZ to my IP address and i tried connecting via VM and remotely. No luck. How do i config visual studios to listen outside of the machine?
View 3 Replies
Similar Messages:
Jan 7, 2011
How to create a TRIAL key validation in the Web Setup Project from VisualStudio 2008
View 2 Replies
Jul 14, 2010
I am trying to access a wcf service hosted on a server running on a virtual machine on a windows 2008 R2 hyperv. When i access this service when running my asp.net website through code everything works fine how ever when i deploy the application on the local IIS , in the deployed mode i am getting an securityaccessdeined exception. My Asp.net app is running on a IIS server on another virtual machine. The stack trace is as given below :
Environment Info: My asp.net app has built on .NET 4.0 framework using VS2010. My WCF services are based on .NET2.0 framework.
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 14-07-2010 13:56:54
Event time (UTC): 14-07-2010 08:26:54
Event ID: dd1986e7e7dc4473beb908754c75a580
Event sequence: 4
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/StratosTest-1-129235696025728041
Trust level: Full
Application Virtual Path: /StratosTest
Application Path: C:inetpubwwwrootStratosTest
Machine name: MC-NEWCODE
Process information:
Process ID: 1752
Process name: w3wp.exe
Account name: IIS APPPOOLASP.NET v4.0 Classic
Exception information:
Exception type: SecurityAccessDeniedException
Exception message: Access is denied.
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at VMMService.IVirtualMachineManagementService.GetAllVirtualMachines()
at Default2.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: http://localhost/StratosTest/Dashboard.aspx
Request path: /StratosTest/Dashboard.aspx
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOLASP.NET v4.0 Classic
Thread information:
Thread ID: 4
Thread account name: IIS APPPOOLASP.NET v4.0 Classic
Is impersonating: False
Stack trace: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at VMMService.IVirtualMachineManagementService.GetAllVirtualMachines()
at Default2.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
View 1 Replies
Jan 4, 2011
i want to download file from other website to on my location and i used code below
Dim wc As New System.Net.WebClient
wc.DownloadFile(pathUrl, fileName)
PathUrl,fileName both are correct m 100% sure.
after execution of these 2 line my browser progress-bar goes in to wait state like something is retrieving.but file not download any where.what should i do next?
View 3 Replies
Dec 22, 2010
it's possible to access contrls on aps.net page like textbox from stored procedure in sql 2008.
so I get the value of the textbox on the page direct from stored procedure .
View 1 Replies
Jul 5, 2010
I just like to know if it is possible to export the PDF file to an FTP Server. I already have a link on how to export the report to PDF, but i don't know how to automatically transfer it to FTP Server..
[URL]
View 4 Replies
Apr 27, 2016
If I have one file- name (picnew.jpg) and want to paste it to six ip's d:
Few folder drive by one action.
asp.net or cmd commands or anything else
View 1 Replies
Feb 5, 2010
We are trying to add a new page to a running web application. such that a new dll and aspx file are being added. I've setup break points in the code file and Built the application transfering the dll to the remote machine bin file and the aspx page to a folder within the web application. Note this folder is not in the same folder hierarchy as it built in. I'm not sure if thats the problem. Basically we are appending new functionality to a web application.I've copied the correct Remote Debug Monitor to the server and have it running.
View 1 Replies
Nov 30, 2010
I know practically nothing about AJAX, but fully intended to utilize it in the future. Right now though I am noticing a behavior that may require that I implement it sooner then I planned.
I have been working on a fairily sophesticated web form that is made up of tables, dropdown lists, map buttons, and labels. As various controls are selected, specific tables are enabled or dropdowns/labels populated with information. All of this is working great, but when I put it all on a server and accessed it from a remote location, I noticed that every single action caused the entire page to reload.
From what I have read, it looks like AJAX and the UpdatePanel control will allow me to only refresh those areas that should be refreshed. Before I look further into implementing this, is this the only way to go? From what I have read on some other blogs, the UpdatePanel has some high performance costs.
View 3 Replies
Feb 9, 2010
Me with C# asp.net, How can I add google map in one of my web page pointing to a location
View 4 Replies
Jun 23, 2010
I do have a question with respect to cell phone locations.
f.i. how does google maps know my current position when using a cell-phone?
How can i make use of the current position of my cell phone. (How can i read that info and make use of it on a aspx webpage f.i.)
Ok this seems to be a tough one.
Example. when i use my iphone and start to use google. it automatically detects i have a mobile-phone (easy).
But then it request if it may use my gps locations. (if i then accept it reads my current locations).
My question is how can i do this myself using an asp.net webpage f.i.
View 1 Replies
Jan 25, 2010
i have used aspnetDB database for my application for keeping user details. Once after creating role and user, Adding user to the perticular role .Everything is working fine ...... and but i hosted the application and generating script for AspnetDB database
by using "DatabasePublishingWizard" and run this script on remote server everything is fine and grant permission to Stored procedures also.But i couldn't login with the user that i created on localy ,But the user is there in remote DB ,
My application located on ASP.NETSSF folder in localy, every link on local take like this asp.netssf/default.aspx so and so.....But in remote it's domainname.com/defaulst.aspx
i mean it's in root [virtual directory] directory whille remote hosting and asp.netssf folder in localy ,
why i couldn't access this on remote
2. can i run asp.net configuration sttings for remote server ,if so how can i ?
3.alas what is best solution for running script on remote server ?
View 15 Replies
Jun 24, 2010
I have a web service that runs a query (from C#) to get a dataset from sql server. I get the following time out error. Googling on this error says, you can set the timeout on command object. But I am not using command object to set the timeout. This is the code I am using to get the dataset.
code:
[code]....
View 8 Replies
Jul 10, 2010
Debugging running remote web application
View 1 Replies
Sep 7, 2010
Here's a short explanation of my asp.net project.
1) the default page loads, it will read the Windows Login of the user opening the page.
2) I'll check if this login exists in a table stored on the webserver.
In this Access Database, there's a 2nd linked table, pointing to another access table on a network location. Now, I want to read data from this linked table. However, at this moment I receive an error:
"The Microsoft Jet database engine cannot open the file '\<ip><shared-folder>statistics.mdb'. It is already opened exclusively by another user, or you need permission to view its data".
Some extra info:
- The network folder has read and write permissions for everyone
- the user and group permissions on both access files are set to read/modify/administer for the Admin user (on the tables I want to read from)
- IIS authentication on the server is set to "Windows Authentication" (this is needed so I can read the Windows Login from the user). All other authentication modes are disables (like anonymous, ...)
- When the error occurs, no other program or process has access to the statistics.mdb (so, it can't be locked by someone else)
- the web.config files access connection string looks like:
<add name="AccessConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\<IP><shared-folder>statistics.mdb;User Id=admin; Password=;" />
Like I said before, in this statistics.mdb file, there are 2 tables. One normal table, and another linked table (pointing to a network location)
Searching for solutions, I discovered the following:
- if I don't use linked tables, everything works fine (however, I have to use this linked table)
- even if I connect directly to the table in the network I receive the error. So, I'm pretty sure I don't have sufficient rights to read from this table.
I read that not the Admin user is opening the file, but actually a user called ASP.NET. This user doesn't have the correct rights to do this. However, I'm not sure if this is true.
View 5 Replies
Nov 3, 2010
I wan't to connect to remote web page (that has login form) with HttpWebRequest. I am using this tutorial: http://www.byteblocks.com/page/How-to-submit-requests-to-web-sites-programatically-using-HttpWebRequest.aspx
,but I don't know where RequestAttributes class belongs to?!? Is there any better way to do this? The remote page is in ASP.NET, it's using Form authentication and when someone makes a request to default.aspx it redirects it to login page. I want to parse default.aspx page, but before I am able to do that, I need to pass credentials to login form via POST method in HttpWebRequest. Here is another example using POST method to pass parameters: http://www.worldofasp.net/tut/WebRequest/Working_with_HttpWebRequest_and_HttpWebResponse_in_ASPNET_114.aspx
but I don't understand why this does not work in ASP.NET remote page.
View 1 Replies
Sep 30, 2010
I have some shell scripts on a Windows 2003 server. These scripts process some flat files and upload data to Oracle using sqlldr. Currently I'm using telnet to go into the box and run each of these scripts manually. Is there a way that these scripts can be run from a ASP.Net/Winforms application?
View 1 Replies
May 14, 2010
My application running locally on my PC - on the Visual Studio Server (Cassini Server).My SQl Server DB is hsosted in a server on the internet.I think there are some configurations to be done in the SSMS ( Enable Remote conn.).
View 1 Replies
Jul 4, 2010
some differences hosting a website on some remote server VS running it locally on dev environment.The reason why i am asking is, If I run my website locally it works fine no exceptions, runs smooth. But when deployed on a remote hosting server. Its like a nightmare to me :(very often i get object Instance not set to instance of object..... I am ok with the error message, But the same situation should happen locally,
View 6 Replies
Jun 7, 2010
I need to get a perticular word from remote website.its a number and it is changable. but it cant be a char it must br a number .i just wants to locate that number.
Actually i have a project,in which user have to insert the url of his video and it could be on any website which allows to host videos(youtube,metacafe,etc...).now when user enters the link and press the button on that page he will able to see number of views of his video.
View 3 Replies
Jan 24, 2011
iam having popup window it is correctly loading while in localhost but not loading the rite path in iis....error 404 comes...
OpenPopUp(Button1, "Production_Pl/Calcuted_View", "Help", 650, 450);
the path is Production_Pl/Calcuted_View
i tried also ~/Production_Pl/Calcuted_Viewbut it is nnot while hosting in iis i have added http://localhost/inven as my default alias,its displaying
http://localhost/Production_Pl/Calcuted_View 404 error path
instead of
http://localhost/inven/Production_Pl/Calcuted_View rite path should be like this
View 12 Replies
Jan 6, 2011
I have log files in different machines. Now i am developing a web page in my development machine (Windows XP, IIS 5.1 installed). In the web page i want to give a link(may be hyperlink or linkbutton). On clicking the link it should access the log file in the particular machine and it should give a popup with open and save option as given in the normal web applications. I am using the following code snippet but its throwing error "Cannnot resolve the URL"
Response.ContentType = "text/txt";
Response.AppendHeader("Content-Disposition", "attachment; filename=log.txt");
string str = ResolveClientUrl("\ip address\FolderName\logs\log.txt");
Response.TransmitFile(str);
Response.End();
Here FolderName is a shared folder in the machine(which ip address is mentioned).
View 3 Replies
Mar 14, 2011
I'm trying to take screen shots of web pages programmatically. I may also require to take screen shots of full or partial page. Is there a way to do this?
View 5 Replies
Oct 24, 2010
I am studying for the 70-562 exam with the microsoft book. The author wrote that the ID that you set in your designer will be your client ID, and also uses some examples like this found in the WebService chapter:
<asp:TextBox ID="TextBoxTemp" runat="server" />
<asp:Label ID="LabelResults" runat="server" Text="" />
<br />
<input id="Button1" type="button" value="Calculate" onclick="GetCelsius()" />
And the JS:
function GetCelsius() {
var val = document.getElementById("TextBoxTemp");
TempConversion.GetCelsius(val.value, FinishCallback);
}
The point is: the ID changes, so the val is always null. Is the book wrong or am I doing something wrong?
View 2 Replies
Mar 1, 2010
My web.config has following settings :
Code:
<authentication mode="Forms">
<forms loginUrl="SignIn.aspx" >
</forms>
[code]....
and different settings for a folder - "user" inside root.
( same config file )
Code:
<location path="User">
<system.web>
<authorization>
[code]....
but when use the statement
Code:
Server.Transfer("~/user/somepage.aspx")
in code behind , the control goes to somepage.aspx instead of SignIn.aspx.
View 5 Replies