Brand Spankin' Noob, How To Configure Server For .net
Jul 10, 2010
I thought I had everything in place to start workign with asp.net web services, but after trying to run my first test, and then attempting to load even a basic .aspx test page it seems my server is not correctly configured for asp.net. I haven't been able to track down where my problem is though.
View 4 Replies
Similar Messages:
Feb 4, 2011
I have a page where I'm displaying all the different brand that I company stocks
For each distinct brand I need to display a count of the number of items with that particular brand
e.g.
brand name
number of products with that brand
brand name 2
number of products with that brand
brand name 3
number of products with that brand
View 2 Replies
Jan 10, 2011
I'm trying to create a search page that searchs one specific table in the entrie datbase.Basically someone writes what they want in a textbox in search.aspx, they click the search button, and it takes them to another page called search_results.aspx, carrying the inputted text along with it. What search results is supposed to do is at page load, its supposed to query the entire database for all values that are LIKE the text in the querystring, then transport the entire value set of each row that has a field matchign the query string, and then it's supposed take those values and put them in a template that presents them in the way that I want.
The only thing out of all that that I don't know how to do is write the code for taking the querystring and putting it up against all the values in the database like that. I know that you can find a value in a specfic comlumn, i.e.
SELECT Column1, Column2
FROM Table1
Where Column1 = 'blah1', 'blah2'
but how do you write it so that it looks at all the columns for 1 or 2 specfic values (the querystring), and then it returns the entire for each time it finds them?
View 7 Replies
Apr 27, 2010
when i started a brand new asp web site in "Microsoft Visual Web Developer 2010 Express".. i get the main page called "Default.aspx" which has the following code...
So if i Ctrl+f5, and load it into a browser, everything is perfect, if i change it, (From "Welcome to ASP.NET" -> "Yaahhooo ASP.NET" and then Run it again (Ctrl+F5) then it compiles just fine and still shows the original page, yes i've considered browser cache and opened it up in a new browser (first time ff then ie) but still, once i compile it the first time, i can't change it unless i create a brand new Default.aspx
Sorry for the long explanation, i have no idea what im doing, looks like im getting off on the wrong foot.
EDIT!!-> if i make a change and save it and doesnt reflect changes in the browser, if i just quit MVWD 2010, and open it back up then it will reflect the changes right away..
View 11 Replies
Jan 12, 2010
I am working in one of the company which sells music online. we want to white label our website so the different consumer can use our download store with their brand name.
View 1 Replies
Jan 14, 2010
We have a cient we are stting up that has 2 separate physical servers, one that is the web server the other the database server. Using impersonation we have been able to get the website to connect and retrieve data from the sql server so that part is not an issue. The problem is I have a windows service application that must be installed on the web server (as it process files downloaded to an ftp site) and it must be able to connect and write to the sql server as well.We tried adding a system.web block with the impersonation stuff to the app.config file which of course did not work. Can anyone tell me what/how we need to configure this properly?
View 7 Replies
Apr 21, 2010
I have a default web site with few websites in it. I will get https://testQA.xy.com/XYZ/index.aspx if i browse this website.
Now i want to configure another website for staging like [URL]
View 3 Replies
Feb 2, 2011
I need to know how to configure the .config to manage Session state in SQL Server
View 2 Replies
Jun 29, 2010
I have developed my first MVC application, which runs perfectly on my local development box.
However after publish to a server running IIS 7 I cannot get the application to work?
1. I created the application in IIS 7
2. Changed authentication to use Forms Authentication instead of Anonymous.
But this exception is generated - shown in browser:
[code]...
View 1 Replies
Sep 24, 2010
I am trying to implement an IHttpHandler. I have defined an appropriate class but the debug web server (you know, the one you get if you hit f5 in Visual Studio) is responding with "Can't Display Page".I looked here http://msdn.microsoft.com/en-us/library/ms228090%28v=VS.90%29.aspx to learn how to configure the handler, and it seems there are different ways for IIS6 and 7. But the process is put something in the web.config and then set it up in IIS Manager. However, that is a deployment issue. I want to be able to run it in the test server, and I don't know how to do this second step in the test server.I put the following in my web.config:
<httpHandlers>
<add verb="*" path="*.sample"
type="MyNamespace.Code.HelloWorldHandler"/>
</httpHandlers>
HelloWorldHandler is the code from the link above (wrapped in MyNamespace.)
Can someone let me know how to configure this correctly for the development server?
View 1 Replies
Apr 11, 2014
I am using localhost for running my current web application on Visual Studio 2010 but want to configure IIS server 6.0 for implement website.
View 1 Replies
Mar 7, 2011
I am developing a MVC 2 application that uses aspnetdb on my SQL Server 2008 detabase for forms authentication. On my development machine I can configure the users, roles and permissions using my Website Administration Tool (WAT). My question is how do I deploy this database to a production server and how do I configure it with users, roles and permissions?
View 1 Replies
Aug 18, 2010
I'm trying to add functionality to a simple web service that will allow me to log information to an XML file on the hard drive where the application is located. When I employ the functionality in a Console version of the application, the data gets logged to:binx86Debug MySolution.MyProjectMessageLogTestMessagess.xml. However, when I try to write read from or write to the XML file in the ASP.NET application, I get a System.UnauthorizedAccessException with the message: Accees to the path 'MessageLog' is denied.I would like the log file to appear in the in folder of the application directory, so what settings in IIS or on the server itself would I need to change to allow my application to read from and write to that folder?
View 3 Replies
Mar 28, 2011
is there a way to configure the server / something else to send me an email every time asp.net crashes (with the error - just like the "yellow" screen it shows)
View 3 Replies
Jan 4, 2011
I have hosted a asp.net project working in asp.net 3.5. All it is working fine, but some time i got error message XML parsing error;Not wel formed. Location: http://www.(my domain name); Line number 1, column 14.
[URL]shockwave/download/index.cgi?P1_prod_version=shochwaveflash" align=left>
I got some about IIS configuration in local system by using this command
%Windir%Microsoft.NETFrameworkv1.1.4322aspnet_regiis.exe -i
But how to configure for remote server?
View 1 Replies
Oct 9, 2010
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 Replies
Dec 23, 2015
I would like to work with NLog to track my application's events.How i can configure the generated log file if my server is located on Azure?
View 1 Replies
Mar 9, 2010
I have a web app, can upload images when running it on the local development machine, but when runnign it on WebServer 2008, it gives me an error saying "access is denied". I konw it is something to do with security, but how do I make it such that an internet user can have acces to it. The folder is located in: c:inetpubsiteimages494
View 4 Replies
Mar 17, 2011
I can't believe I'm having so much trouble finding this information. I'm endeavouring to learn about creating model classes with Linq to SQL. By default VS2010 wants to use SQL Express, but our organisation has several database servers for development so I'd rather use one of those. PLEASE can somebody tell me how I can configure VS2010 to do that, as all I get is 'A network-related or instance-specific error occurred while establishing a connection to SQL Server ... Verify that the instance name is correct'. Yeah, thanks Microsoft. Actually telling me how to verify the instance name would be a really good move here.
View 1 Replies
Sep 15, 2010
So i have the global.asx file that I want to call a piece of code when the session end. How do I configure web.config so that when the session is end/times out it goes to that global.asx sessioN_end function?
View 8 Replies
Jan 26, 2010
Need to nut out Azure fast (not my choice), so figured I'd ask for pointers.
Basically went over the why and what, and started with the training kit.
Anyone recently had to get his hands dirty with azure and know some good resources?
View 5 Replies
Mar 12, 2010
Using ASP.NET MVC, I need to configure my URLs like this:
[URL]
View 1 Replies
Jul 21, 2010
I have an asp.net web application that I am deploying using ms web deploy to an iis 7 web server. I recently moved the project to source control with tortoise svn. Now web deploy isn't working since it is trying to copy the hidden read-only files (in a .svn subdirectory) that svn is using onto the iis server. How do I configure web deploy to leave these files alone?
View 2 Replies
Dec 28, 2010
In my ASP.NET web application,I used NHibernate.dll and configuration is read from the Web.config file as follows.
At Web.config
<httpModules>
<add name="CurrentSessionModule" type="Globals.CurrentSessionModule, Globals"/>
</httpModules>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<session-factory>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property>
<property name="connection.connection_string">Server=localhost;initial catalog=TESTDB;Integrated Security=SSPI</property>
<property name="current_session_context_class">web</property>
<property name="default_schema">dbo</property>
<mapping assembly="LAT.Domain"/>
</session-factory>
</hibernate-configuration>
At CurrentSessionModule.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using DataAccess;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Context;
namespace Globals
{
public class CurrentSessionModule : IHttpModule
{
public void Dispose()
{
}
public void Init(HttpApplication context)
{
context.BeginRequest += delegate
{
string session = Global.SessionFactory.OpenSession();
CurrentSessionContext.Bind(session);
};
context.EndRequest += delegate
{
CurrentSessionContext.Unbind(Global.SessionFactory);
};
}
I reference this website( [URL....
but the main different between my project and the ref website is Global.asax
my Global.asax
[Code]....
View 1 Replies
May 19, 2010
Number of records used in pagination & other UI parametersCache duration for web-pages & timeouts Route maps & site structureThere are many approaches to store all this information also:AppSettings (web.config)Custom sections (web.config)External xml/text files referred from web.configInternal static class(es) of constants Database table(s) ...
View 1 Replies