Can One Configure IIS So ASP Pages Can Run Aside Our Existing PHP-pages

Sep 8, 2010

We run a PHP-website through IIS v6.0 (windows server 2003). The site was configured by an ex-collegue. Now I have to add a couple of existing
ASP-pages to the site. I have tried this, but it won't work. When calling an ASP page in Internet Explorer, we get the following message : "The page cannot be found". However, if I rename the asp-pages to php, it does work fine, but this is not the way I want it to work (I like to keep the asp pages, to be sure they work well). Can one configure IIS so ASP pages can run aside our existing PHP-pages ?

View 1 Replies


Similar Messages:

How To Configure Master Pages

Feb 3, 2011

trying to configure master page for my project in visual studio 2008 and all the tutorials i have found none seem so resourceful if any one has a good site, article, or a video tutorial that can help me out i appreciate a lot.

View 4 Replies

Converting Existing Classic ASP Pages

Mar 24, 2011

I am trying to convert existing classic ASP webpages to ASP.NET. I dont have a lot of knowledge in the area. This is what i currently have. I use a Microsoft Access to pass data to tables in a Oracle Database. I then have .asp pages that pull data from the oracle tables. I just recently installed Visual Studio 2010 Ultimate and i want to start converting my .asp pages to .aspx. I have never used Visual Studio before so I am stuck at the beginning of this process. Do i start by creating a new ASP.NET Web application? I know there are things i need to add to the Webconfig file too but i dont know exactly what.

View 6 Replies

Architecture :: Add Event/function To All Pages In Existing App?

Jan 26, 2011

c#/vb webapp. I'm working on a very old app with a ton of pages. I want to add a function to every page's PreRender. If this application was designed properly from the start, it would use a MasterPage, or would at least inherit all pages from a BasePage other than System.Web.UI.Page.The goal is that every aspx page's PreRender should trigger a call to FooFunction(). I'd like to have this done all in one page, to avoid opening every single .aspx file and changing it's inheritence / pasting FooFunction() / some other time waster.Is there a way to do this in .net? Can you point me in the direction of any design/discussion articles?

View 5 Replies

Web Forms :: How To Apply Master Pages To Existing Page

Apr 17, 2010

I've more than 12 pages without any master pages applied to them. these pages have heavy javascripting and loads of controls on them. now i require to add these pages under a master page. how can i achieve this with minimal of effort?

View 3 Replies

Installation :: Running Aspx Pages To An Existing Php Website?

Mar 3, 2010

I have a client that currently has a comprehensive php website (with a huge amount of functionality built in).

We have been requested to link into our c#/SQL server application and pull information from the SQL database and display this on the existing website.

I would like to do this as aspx pages. However, I do not want to re-create the complete existing website. I would like to add the aspx functionality onto the current website.

View 1 Replies

Web Forms :: VS2010 Master Pages / Everything Shows On The New Pages Except The Jpeg Image Logo?

Sep 5, 2010

i'm developing a site using VS2010 and with my windows vista busniness OS. i used the default VS2010 wizard for new web application to create it. included a folder in the root directory and created new aspx pages to derive from the master page in the root directory of my site. everything shows on the new pages except the jpeg image logo in the master page. But other aspx pages i created in the root directory shows every thing fine.

View 1 Replies

Configuration :: Finding Best Practice For Making Sure That Slow Pages Don't Affect Other Pages?

Aug 31, 2010

Page B - loads slowly and needs to do some CPU-intensive operations on the web server.

I noticed that when someone is loading Page B, then Page A also loads slowly. This is even worse if multiple users are loading Page B at the same time. Page A won't finish loading until Page B is done.

Is there a best practice for making sure that Page A can still load quickly? Maybe a config setting or IIS setting that I need to change from its default? With 2 users loading Page B at the same time, the web server CPU usage only gets to 30% so I suspect it might be something I can tweak with the settings.

View 1 Replies

Web Forms :: Master Pages - All My Pages Inherit From The Base Page Class

Jun 21, 2010

Currently I'm doing common functionality required throughout my site inside of my masterpage. What I want to do is move this functionality to a BaseClass so All my pages inherit from the Base Class. However, I'm not sure how to set this up interms of c# code with regards to Using a Base Class and then having a masterpage applied to my aspx pages that i create.

View 5 Replies

State Management :: Maintain Query String Parameter In All Pages - It Gets Lost In Subsequent Pages

Aug 9, 2010

In my Application_BeginRequest I have code that gets query string value ?c=FR or ?c=US and store it in cookies.Based on query string value I have either US or FR,locale is selected from locale table.If ?c=FR then locale will be fr-FR and if it is US then locale will be en-US.My code is below.

void Application_BeginRequest(object sender, EventArgs e)
{
LocalizationInfo loc = GetLocalizationInfo();
if (Request.Cookies["Localization"] == null)
Response.Cookies.Add(new HttpCookie("Localization"));
Response.Cookies["Localization"]["Country"] = loc.Country;
CultureInfo objCI = new CultureInfo(loc.Locale);
Thread.CurrentThread.CurrentCulture = objCI;
Thread.CurrentThread.CurrentUICulture = objCI;
}
public static LocalizationInfo GetLocalizationInfo()
{
string countryCode = "";
string sLocale = "";
if (HttpContext.Current.Response.Cookies["Localization"]["Country"] != null)
countryCode = HttpContext.Current.Response.Cookies["Localization"]["Country"];
if (!string.IsNullOrEmpty(HttpContext.Current.Request.QueryString["c"]))
countryCode = HttpContext.Current.Request.QueryString["c"];
if (countryCode == "")
countryCode = "US";
sLocale = HertzRent2Buy.DataProvider.ListData.GetLocale(countryCode);
LocalizationInfo ret = new LocalizationInfo();
ret.Country = countryCode;
ret.Locale = sLocale;
return ret;
}
public struct LocalizationInfo
{
public string Country;
public string Locale;
}

Now when I run the project and in query string I set [URL] then for the very first page(home page itself) it shows me French translation,but on subsequent page,that query string parameter ?c=FR is lost and hence it shows be English translation not French translation since it does not pickup French resx file.If I manually append ?c=FR in subsequent page then it shows the French translation.Is there is way how I can make that query stringparameter available in all pages.Structure is there to hold Country and locale variables. In all pages I am calling GetLocalizationInfo() method as follow

LocalizationInfo info = some.DataProvider.Globalization.GetLocalizationInfo();

And I create instance info to pass locale and country as parameter. GetProductDetails(id,info.Country,info.locale). why my query string parameters get lost on subsequent pages.

View 1 Replies

Configuration :: Dev Server Doesn't Turns On Pages Automatically When Debug Or View Pages Of Site In Browser

Sep 13, 2010

When i'm trying to debug or view pages of my site in browser asp.net dev server doesn't turns on pages automatically and when im trying to go by url it throws me an error See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): Не удается найти указанный файл
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Microsoft.VisualStudio.WebServer.WebServerForm_DAL.DoLaunch()
at Microsoft.VisualStudio.WebServer.WebServerForm_DAL.OnLinkClickedHyperlinkLinkLabel(Object sender, LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)............................

View 7 Replies

Caching - How To Turn Pages Into Static Pages As Part Of The Build

Dec 29, 2010

I have a few pages that are completely static. They only change at build time. But they are expensive to create. For the ones that are kind of expensive to create, I cache them for very long times using the ASP.NET output caching. But for one page, I really want it cached forever and ever or until the the next build.

What is the most expedient way to make this happen? Is there a build in feature that achieves this or a 3rd party tool?

(yeah, for the moment I plan to do the "view source" and copy paste thing, which isn't a very elegant build step)

View 2 Replies

JQuery :: Menu Does Not Work For Pages Which Are In A Separate Folder Pages

Oct 24, 2010

I have added a jquey menu in my master page its working fine for those asp.net pages which are at the same level as master page.

But this menu isn't working at all for all of those page which aur in Editor's and Admin's folder. In these pages menu is displaying as simple html menu and unfortunately no jquery effect is shown on it.

I'm very confused why this menu isn't working for the pages which are in a seprate folder while the master page is added at the root level outside of all these folders.

View 16 Replies

AJAX :: Set Title For Content Pages When Working With Master Pages?

May 17, 2013

How can we add titles to each content pages which inherits from mater pages in asp.net?

View 1 Replies

Web Forms :: Use Link Master Pages In Content Pages?

May 11, 2010

My requirement was to share master files among diff projects i read this doc [URL] so i use this technique to share msster pages among my diff projects in a soln but i dnt know how to reference such shared master page as if i use such

<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../masterPages/masterInvGen.Master"

View 1 Replies

Combining CSS And JS In Master Pages And View Pages With SquishIt?

Jul 2, 2010

How do you implement SquishIt to bundle Css/Js across View Pages and Render it in the Master page? I thought I could use a ContentPlaceHolder above the Render portion, but there seems to be some odd behavior where it sometimes adds 3 files (1 in the view page and 2 in the master page) but other times will ignore the file added from the View Page.

Index.aspx
<asp:Content ContentPlaceHolderID="CssFiles" runat="server">
<% CssHelper.Add("home.css"); %>
</asp:Content>
Site.master
<asp:ContentPlaceHolder ID="CssFiles" runat="server" />
<% CssHelper.Add("reset.css"); %>
<% CssHelper.Add("master.css"); %>
<%=CssHelper.Render() %>

My current solution is a Static wrapper around SquishIt's static Bundle class that keeps the BundleBuilder in HttpContext.Current.Items.

I'm curious if this has been done successfully and how so.

View 2 Replies

C# - Possible With ASP.NET Master Pages To Create Content Pages Dynamically?

Jan 22, 2010

Is it possible with ASP.NET Master Pages to create content pages dynamically?That is, I know we can create content dynamically, but the content pages themselves,can those be created programmatically? I want to give my users the ability to define new content pages (i.e. Categories: Sofas, Tables, Lamps, and add/delete as they see fit) through a management panel. The resulting content pages should have proper URL naming, so that they index properly.An example: http://www.example.com/products/Lamps/contentpage.aspx.Is there a demonstration of this somewhere I can view?

View 4 Replies

Web Forms :: Batch Creation Of Content Pages (re: Master / Content Pages)

Apr 19, 2010

I have over 300 content pages to create. Each has some standard styling. I would like to generate these pages, and was just wondering if there is a utility in web developer 2008 express to do so (otherwise I will just build one - but it would be great not having to do so!)

View 1 Replies

Converting Content Pages To Nested Master Content Pages In .net

Jul 28, 2010

I have a main master page, say MasterPageMain, and a couple of folders with couple of pages in each folder which act as a child page to that master page - MasterPageMain.

Now, I have about 10 pages in one of the folder which follows a certain pattern and they could really use a nested pages since any change on some parts needs me to change all the pages which is a pain really.

I already added a Nested master page, say NestedMasterPage - which is a child of MasterPageMain

I tried to change one of the page's <%@ Page directive to NestedMasterPage, immediately, there were a lot of errors. plus I dint know where the NestedMasterPage's children content would go.

What do I need to know in order to do this succesfully?

ps: I dint do this initially because I only had 2 pages, and I dint need this at that time, as the project grew, now i see that I should have changed it much earlier..

View 2 Replies

Web Forms :: Configure Existing Database And Website To Work With Membership?

Jun 13, 2012

I have a website and a SQL Server Database. I want to use ASP.Net Membership for login and roles.

View 1 Replies

Permanent Redirect From Old .net Pages/site To PHP Pages/site

Jan 29, 2011

I picked up a new-to-me client who had a site built in ASP.net (which I do not host).I converted the site to PHP, which worked fine.I want to set up redirects for all the pages he had in the old site (it was a small site, so there was only 8 pages).As an example, the ASP.net url for the Contact page was www.domain.com/Contact - it is now www.domain.com/Contact.php (and so on).

For 301 redirects from one PHP page to another I normally use the .htaccess file:

Options +FollowSymlinks
RewriteEngine on
#custom redirects
rewriterule OldPage.php http://www.domain.com/NewPage.php [R=301,L]
#end custom redirects

What can I do to redirect these ASP.net pages to the new PHP pages?They are all static pages with no dynamic content.

View 1 Replies

Sharepoint Proxy Web Part - Configure The Web Part To Point To An Existing Web App

Feb 17, 2010

We have several asp.net web applications we've built and we also want to embed them into various sharepoint pages. We need to have them look like standalone applications when viewed in their own pages, but also have them look like they fit within the sharepoint page when embedded. We are doing this currently with IFrames and it works ok, but I'm wondering if there is some sort of proxy web part where we can configure the web part to point to an existing web app and it will proxy the contents through from the web app into the sharepoint page removing the need for an IFrame. Possible?

View 2 Replies

Ascx Pages And CSS?

Oct 28, 2010

m hoping someone might know what's going on with this issue.I have a directy called _controls where I store all of my .ascx pages for use in my site.I have a master page that has a link to my .css file for the whole site.The individual .aspx pages are reading the style sheet with no issues. But the .ascx pages keep flagging the class as undefined in the code view, and when I execute them on the actual site, the style doesn't take effect.I have a theory. Because I have the link in the master page defined as

"/Public/ASP.css"

the _controls directory .ascx files aren't linking properly. Any one run across this before?

View 14 Replies

Web Pages Flicker?

Nov 17, 2010

I have a small website that consists of 1 masterpage and 4 aspx pages. I'm using AJAX controls in this project. I'm trying to attain a no-flicker site, however, whenever I go to one of my aspx pages, the screen flickers. I have the <ScriptManager> in my masterpage along with the <UpdatePanel> and <ContentTemplate> tags. In my aspx pages, I have only the <UpdatePanel> and <ContentTemplate> tags.My masterpage consists of a Logo, Login, and ASP Menu Control. Is there something simple that I might be missing?

View 11 Replies

How To Link Two Pages In .net

Feb 28, 2011

Say if i have a master page in that i have a button if user clicks on the button he should be redirected to new asp page how can i do that.

View 4 Replies







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