Web Forms :: Can't Access A Webpage Published To A Server

Mar 10, 2010

I published my website with Visual Studio and used FTP to transfer the Default.aspx page in the root folder and the compiled file (Default.aspx.cdcab7d2.compiled) in the bin folder of an SQL server that supports ASP.NET (StartLogic). But, when I used a browser (Firefox) to access the Default.aspx web page, all that I got back was: This is a marker file generated by the precompilation tool, and should not be deleted!

What am I doing wrong? Why can't I get the page to be displayed properly?

View 4 Replies


Similar Messages:

Unable To Access Published Webpage From Other Computers?

Jan 18, 2010

I have published ASP.NET web site, using IIS7 on Win7. I can access this web site on my localhost, but it is inaccessable from other computers via internet. I have tried to disable firewall and anti-virus program, but with no success.

Does anyone know what may be causing this problem?

It works fine if I publish it on winXP.

View 4 Replies

Configuration :: Anonymous Access For Published Web Application?

May 5, 2010

I check WindowsPrincipal.Identity.Name against Active Directory security groups before allowing the user to edit data. If the user is not authorized I just present a read-only version of the data.

When I run my web app from the IDE everything works fine. I published the web app, made sure anonymous access was disabled, and invoked it from IE. The read-only page came up.

I then added code to write to the event log to display the WindowPrincipal.Identity.Name and saw that instead of displaying the user name, it was instead showing the server name. I verified again that Anonymous Access is disabled and integrated security is on.

View 3 Replies

Forms Data Controls :: Paging Is Not Working When Published Into Server?

Mar 3, 2010

I published my application into server. Some reason gridview paging is not working when i open the application from the server.

Note: When I ran the application at my local system using VS-2008 it's working fine.

View 1 Replies

Configuration :: Doesn't Work When Published To Virtual Server Running Windows Server 2008 R2?

Feb 26, 2011

Does anyone know of any requirements to get the Ajax Control Toolkit (Calendar Extension in particular) working in this OS? I have it working on my local macjine (VS 2010 Development Server) but it doesn't work when published to my Virtual Server running Windows Server 2008 R2. No errors are reported, just nothing happens when I give focus to the Calendar textbox (no Calendar appears).Anyone know of any configutrations that need to be made in Windows Server 2008 R2?Is there a 32-bit/64-bit issue with the Toolkit?

View 8 Replies

AJAX :: AsyncFileUpload Not Working When .net App Published To Server?

Mar 9, 2010

AsyncFileUpload not working when .net app published to web server. It works fine in testing on my pc. I have checked security settings. I can get other upload scripts to work, but I wanted to try using the AJAX AsyncFileUpload. I thought maybe it's something on the server blocking it, but not errors, It just keeps saying "uploading" but it never finishes and it never uploads the file. Has anyone else had this happen?

View 2 Replies

Configuration :: ITextSharp Saying File Not Found When Published To Server?

Jun 29, 2010

I am using ItextSharp and I am getting a new font for it by doing this

[Code]....

That file is in that directory on both my dev machine and the server. When i run this on my dev machine it works fine, when published to my server I get an error saying FREE3OF9.TTF is not found as a file or a resource. I have double and triple checked that the file is in fact there on my server. My application has full trust on IIS. and IIS user has full access to this folder and this file.And still I get this error. Very frustrating. This code is Not inside the Web Application but inside a DLL class library that the web application is referencing. Do I need to add any more special permissions or something?

View 10 Replies

Security :: Login Control Not Working When Website Published Onto Server?

Apr 13, 2010

I am a newbie to asp.net and have recently been building a web... I have a login control on the main page which when logged in verifys the user and redirects them to the home page... I published this to the server previously and it worked. Today when I tried logging into my system however I got the following error message:-

"Your login attempt was not successful. Please try again."

The accounts did work before but since I have uploaded a newer version of my program onto the server the above message is displayed. I have been on many websites and read previous forums with suggesstions to add <roles> in the web.config file however the login control worked before and I have not changed anything on the site apart from a different page that doesnt affect the login.

Few points to make... the login control is using the asp.net configuration pre built tables it generates for you, I have created the users and roles inside of asp.net configuration so it is not a custom membership... I am at a complete loss as how to get my login control to work having tried to insert roles into the webconfig file.

View 3 Replies

MVC :: Request.UserHostAddress / After Deployed And Published To IIS7 Server, Got Ip Address: 1?

Mar 12, 2010

I am using MVC 2, IIS7 on Vista Ultimate.In the VS2008, my application return ip address: 127.0.0.1

but, after deployed and published to IIS7 server, I got ip address: ::1

View 2 Replies

Web Forms :: How To Access Controls Of Web User Control In A WebPage Using C#

Nov 16, 2010

I Have a webpage named "Test.aspx" and a web user control named "TestWebContro.ascx",..

i have a "Linkbutton" on "TestWebContro.ascx" and "Label" on "Test.aspx",.. now my query is how can we change the text value of "label" on the click event of "LinkButton",...

<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; background-color: White">

View 3 Replies

Web Forms :: Create Dynamic Radio Buttons In Webpage And Then Access Their Values In Postback?

Mar 24, 2011

I need to create dynamic radio buttons in my page, and then access their values in postback

I create the buttons using the following code:

[Code]....

In the post back I try to access the radio buttons using their created ID:

[Code]....

But it seems that the find method is never finding the Radio button control.

View 1 Replies

How To Access Remote Server( Ie., Want To Access Online Server Not Local Server) In Application

Sep 29, 2010

I 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 Replies

Not Able To Access Webpage / Not Connecting To DB?

Oct 6, 2010

I've a problem with my web application. I hosted a web site in IIS and initially its working good. After sometime ( i dont know the time diff exactly ), if i try to access my page its not working and after re-starting my application only its working. Let me explain about my project.

I've only 4 pages ( ex: main, a1,b1,c1 ) in my site. In main page i used IFrame to show other 3 pages by clicking the appropriate tab. Before this main page load, i'm connecting to DB (Oracle 10g) and i used "System.Data.OracleClient" class to communicate with oracle. Every time after retrieved data from DB i'll close the connection. Then i'll display the main page and assign other page url's to the tab.

Now the problem is after sometime if i access the main page, its not connecting to DB at all then i'll show some static message like "site is unavailable at this time". And i'm not using connection pooling concept. And also this problem is not occurring all time.

View 3 Replies

How To Display MS Access Reports In A Webpage

Jan 21, 2011

I am working with a client who wants to make his current MS Access 2007 Reports available on demand in his web site. Currently, as I understand it, the managers of the company are being required to actually load MS Access and the active database to run the reports which exposes all of the data and linked tables to people who have no reason to modify them. So my client just wants them to be able to log into the admin section of the company website and request a report which he has already built in Access. I am trying to figure out how to get those reports to an ASP.NET application for the website to consume.

I have already spent a day looking at the Microsoft.Office.Interop library, and I don't think that that will cut it because I can actually get the HTML for the Report directly out of the application. All I can find is an option to save it to the hard disk which is inelegant and could easily cause problems with filename changes when I try to then load the document from ASP.

What I would like to see is a solution by which I can load the mdb or accdb file into the ASP application, access the Reports as a container and select the one I want by name, and then run it and collect the output in HTML to then simply echo to the webpage. Is there anything out there that can:

// Psuedo-code
Dim AccessFile As MSAccessFileOperator
Dim Reports As List(Of MSAccess.Reports)
Dim htmlResult As String
AccessFile = New MSAccessFileOperator("myDatabase.accdb")
Reports = AccessFile.Reports
htmlResult = Reports("MyReportName").toHTML

I haven't found such a method yet, and I am okay with the idea that maybe it isn't possible to do it that easily, but, at the end of the day, I need the HTML result of the Report to exist in memory as a String.

View 5 Replies

Web Config - Local Access Only For Webpage?

Jul 22, 2010

Is it possible to configure web.config to authorize a page to be only read locally (similar in concept to the RemoteOnly feature for error messages).

View 1 Replies

C# - Access Webpage From .ashx WebHandler?

Jan 20, 2011

Is it possible, and if so how do you access the webpage from the webhandlers?

Basically, when i button is clicked i kick off some JavaScript, which then kicks off a C# webhandler which return data from the server. What i would like to do then is rather than feed it back to the JavaScript, id like to add a GridView directly to the webpage from the webhandler.

Equally, within the handler it would be incredible useful to be able to read values of dropdowns etc from the webpage.

View 1 Replies

Access :: Sum Rows And Return To Webpage?

Nov 30, 2010

I have an Access db on webserver. In my ASP webpage I need to return the sum of rows which match criteria.

I am not sure where the sum needs to happen. I tried sum in the sql statement, but got an error when it tried to put it in asp page.this is what I have

strSQL = "Select * from tblApplicantCreditors where ApplicantID = '" & strApplicantID & "'"

View 6 Replies

Denying Direct Access To A Webpage?

Mar 11, 2010

I have a webpage errors.aspx that needs to be protected from direct access. I want it to be accessed only when redirected to by another web page.

View 3 Replies

C# - How To Access Webpage Hierarchy Inside A Application

Mar 8, 2010

Trying to figure out how to programmatically access the web pages in the application. Just something simple like a list of them would be awesome. I know I can create a list but I was wondering if there was something that could 'look' at the pages and add a new one to the list if you make a new page for the application.

Example with 7 pages:

Error
Default
Login
Content
Users
ContactUs
Admin

I am half awake so I may be a little unclear. Maybe puting it all in a single question will be easier.

How do you autogenerate a list of all webpages in your current application?

View 1 Replies

How To Stick User To Use Specific PC To Access Webpage

Jul 2, 2010

I'm building a website that just allow each person in my office to access the page from their own PC placed at the office only. It looks like I need to identify a client from within the codes on the ASP.net web server. How can I do this?

View 2 Replies

Configuration :: Access The Webpage Without The Port Number?

Sep 27, 2010

on my vistual studio 2010 I can see my project by [URL]

but I can access my project on either localhost or Ip address without the port number , how can I access the web page without the port number?

View 9 Replies

Access :: Filter Data On Webpage In Database?

Jul 21, 2010

I am wanting to build a asp.net page where the user is presented with drop down boxes.

The drop down boxes contain information from an access database.

The access database contains more than 5 tables.

For example, I am going to use a customer website database as an example:

Contained in the database is:

Server Name

Server Type (Shared web or Dedicated)

Customer name

Sites the customer has.

Funtionality:

Say user one wanted to view all records by the server name:

The user would select the relevent server name which is in a drop down box.

This will automatically filter the database results and in turn will display on the webpage all the customer sites associated with that 'server'

Next I want the user to be able to filter those results again, and say the user wanted to filter the sites by "server type", the user would then select the type in another drop down box and then the data will be refreshed to show the sites that are on that sever, and server type.

View 2 Replies

Access :: Update Database Via A Textbox On Webpage?

Oct 22, 2010

i am trying to update my database via a textbox on my web page.

so that when a number is entered into this textbox and the button is clicked, it goes and changes the previous value to the one u have just entered.

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Try
' cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:Documents and SettingsAshMyDocumentsplatypus_holidays.mdb;") 'Connection String
cn.Open()
str = "update holidays set holidays_left=" & CInt(TextBox3.Text)
cmd = New OleDbCommand(str, cn)
icount = cmd.ExecuteNonQuery
TextBox4.Text = "The value was change to " & icount
Catch
TextBox4.Text = "The value was not Updated"
End Try
update_holiday_values()
cn.Close()
End Sub

View 1 Replies

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

Configuration :: Error When Access Webpage Unrecognized Attribute 'requestValidationMode'?

May 7, 2010

I just download XAMPP, and it is running in my local computer. I added the index pages, and it works fine. However, when I copied my pages and all related information,I tried to access the page. Then, it displayed the error message below.

Parser Error Message: Unrecognized attribute 'requestValidationMode'. Note that attribute names are case-sensitive.Line 31: <system.web>Line 32: <httpRuntime requestValidationMode="2.0"/>Line 33: <trace enabled="true" requestLimit="40" localOnly="false" />

Note: The <httpRuntime requestValidationMode="2.0" is required because I am using a chkeditor with a textbox to create a microsoft word like effect. I remove itfrom the web config file, but then I get a similar error. This time, it was complaining about <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

View 9 Replies







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