Configuration :: Create The Web-site Updater For Existing Customers?
Dec 15, 2010I need to create the web-site updater for existing customers.In which I also need to update the database
View 1 RepliesI need to create the web-site updater for existing customers.In which I also need to update the database
View 1 RepliesI am neither a server administrator nor very knowledgable about how to configure IIS, so I have the following problem:
My client hosts their public website from their own internal server running Server 2003 with IIS 6. The current website is a .NET 1.1 application configured as a website in IIS. Within this site a separate virtual directory configured as an application runs a separate .NET 1.1 app that serves as their online webstore.
I've been tasked with upgrading the website (not the webstore) to .NET 4 and getting it installed and working on their server. My initial plan was to simply change the existing websites home directory to the new home directory from the IIS admin console and be done, but then I read that this would break the application directory that hosts their online store because .NET 1.1 applications cannot be nested within .NET 4 applications. Can anyone confirm this?
I'm working on an existing site based on nopCommerce 1.6 CMS (.Net 3.5) I'm using VS2010 and C#.I can create new pages and new .cs code to go with it but when I'm trying to chage existng code on .aspx pages inside the nopCommerce classes I can't build/re-build the project. the compiler just can't find the chages to the .cs code for example - when I add a simple button to the .aspx and an OnClick event to the .cs and trying to build the project it just can't find the OnClick event code on the codeBehind page and the build fails.I understand the project is pre-compiled (there are alot of .dll files in the bin directory)
even if I'll delete the entire .cs file and build the build will succeed - it is as if the build doesn't work at all... doesn't the build/re-build suppose to re-create the .dll files? I've tried changing the target .Net framework for the compiler - doesn't seem to be the problem here.Another thing - every .aspx page comes with both .cs file and .designer.cs file. the .designer.cs file look something like this: [Code]....
I want to select all the customers from "customers" table from a specific country. I write the following query but it is not working. why?
select *
From customers
where country = @country;[code]....
I've tried all kinds of searches on this site and with Bing and don't seem to get any hits that meet my condition. So pardon me if this is a rather basic question. I'm rather new at ASP.NET programming.I want to experiment with putting up to a live site. GoDaddy gives you free hosting if you get the URL from them. The catch is the hosting only supports IIS 7.0 with .Net 2.0/3.0/3.5. I've uploaded all kinds of plain websites with no problem. So in Visual
Studio 2010 I selected the following options while creating a new project:
<customErrors mode="Off" />
<!--<compilation debug="true" targetFramework="4.0">-->
<compilation debug="true" >
<assemblies>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
I tried various solutions offered on the web for other issues like setting References "Copy Local = true" to upload various binaries.
I have a web site running on IIS7 on a remote server. I would like to do the following: Create a new subfolder under the root virtual directory. Create a new app pool. Add this new app pool to the new subfolder Normally, I would do this manually in IIS by first creating the app pool, and then right-clicking the sub folder an choose "add application", but I need to do this programmatically in C#. I've managed to make the above points 1 and 2 work, but I can't find the way to adding the application to the sub folder. This is the code I have used so far for 1 and 2:
[Code]....
So, I need to add "MyAppPool" to the "NytSite" folder. Is this even the correct way to do this?
i'm trying to to create a simple string array with data retrieved from a select statement(SELECT firstname FROM customers , for ex.)
View 6 RepliesI have developed an ASP.NET Web Application and am now looking in to integrating a CMS into it. Is there any open source tool that allows me to this?
I have many existing pages, with content in them, and want to make it possible to simply have some sort of plugin that can be used to add or edit the content - I am willing to convert the existing static content into the CMS database but want to keep the other functionality I have developed (A custom authorisation framework, a site layout and styling using master pages etc).
I am building a web service which uses some of an existing web site's methods. However, some classes and methods cannot be used (for example Redirect - which obivously throws an exception when not invoked from a web site's context).
Now I came to a section in code where
HttpContext.Current.Application.Get(keyNames.EncodedKey) Is used. (Where keyNames is a struct, and EncodedKey is a string.)but HttpContext.Current is null..
What is a valid substitution for HttpContext.Current.Application.Get?
I should mention that I've only checked this from a unit test, not the web service itself and following Darin's answer I realize that is the problem, so the question now is- how to mock HttpContext.Current(using moq)?
I've been asked to create an expansion in ASP.NET (at say www.newsite.com) to a current website (at, say www.oldsite.com) that uses WordPress. The existing site will have a new link added to it, when clicked this will link to my new content. So far, so simple, however it has been requested that the address displayed be the same as the existing site- i.e. when the user clicks on a link to the new site it goes to my new site but the address shown is still www.oldsite.com/newcontent rather than www.newsite.com
I probably haven't explained this very well, but is it possible to do this without modification of the original site as this is maintained by a different company.
I have a new asmx web service (written with .Net 3.5), I'll be accessing this service from a Silverlight 3 app, and I want to add the service to an existing asp.net web site (written with .Net 2.0). How do I go about doing that? I tried the obvious route of just copying the entire project folder to the web site, but I experienced a number of errors when trying to view the asmx page from a browser.
There's already a service on the web site, and all it has is the asmx file, the dll and a web.config in the folder, and that's where I'm at right now with me new service. It appears to instantiate just fine, but when I call a method in t, nothing happens (the AsyncCompleted events never fire).
What options do I have for adding a blog to an existing ASP.NET Web Forms web site. Ideally it should be able to transition to MVS as and when my site does.
View 3 RepliesI am working at a site not orginally devleoped by me. The problem is that all the pages are working fine and have no problem at my local site. but the site is not showing any content at live site from database. Niether it shows an error for it. How can I find the problem?
View 7 RepliesI have created firstly ASP.NET MVC 2. and write more functionality. After I create asp.NET Dynamic Data Site. now, when I click on run button in Visual Studio, mvc app. opened in browser as [URL]. and asp.NET Dynamic Data Site as [URL]. but i want to merge this app. in one. can I use asp.NET Dynamic Data Site and asp.NET MVC-2 at the same time?
View 1 RepliesI have a project ointo which I have copied a folder form another website - that folder consists of aspx and associated aspx.vb files and folders cotaining js, css and ashx stuff. The folder is in the same place relative to root in both the original and target projects/sites. I have added the copied items to the destination project using VS "show all files"|right click add_to_project_method.
Things seem to have worked - e.g intellisense seems to recognise the controls in an aspx file when working on the matching aspx.vb file. However, whne you build the project (even though inteliisense is recognising them) the comiler moans that all of teh controls on the copied pages are undefined.
So intellisense says they are there but the compiler says they are not....
What I am trying to do is install an open source application to my existing asp.net website. Within my solution in VS2008, I have two "Web Sites", one for my web site and one for the application (forums).I have my web site published to the main domain, and the forums web site published to a subdomain. They both work great.The problem I am having is that I cannot get them to communicate to each other, for example they can't access each others resources. They each have a separate membership provider, but I am attempting to combine them so that if the user logs into one, they are logged into the other. The reason that I have these as two separate web sites within one project is so that the forums can be hosted at the subdomain and the site would just be the main domain.My question is, would it even be possible to accomplish what I am trying to do using separate domains, and if so what would be the best approach?
View 3 RepliesWe are using BlogEngine.net for our company blog and we'd like to start using feedburner. Since we already have an considerable amount of subscribers to our feed, we want to maintain the same url. The url of our feed would be: ~/blog/syndication.axd. What I'd like to do, is to maintain the URL, but redirect requests to this url to the feedburner URL. So, I started to use the urlMappings section in the web.config for that:
<urlMappings>
<add url="~/blog/syndication.axd" mappedUrl="[URL]" />
<urlMappings>
But for one reason or the other, this does not seem to work and I am redirected to the root of my web site.
I have one asp.net application i need to make my website secure..
View 2 RepliesI was trying to upload the database of my ASP.NET website. On the local machine, if I copy the database from another machine, I have to attach it through SQL Server Management Studio and then use it in the connection string like
[Code]....
My database is approx. 10 MB in size for now. If I upload it via ftp to App_Data folder, how would I have to attach this database?In Plesk, I have the option to create the database and its user (as shown in the screenshots):1) Web Applications and services-Plesk2) Add New Databaseand add new database user3) Webadmin>ASP.ET Enterprise ManagerBut this is for the new database I created. My problem is to upload an existing one.There's also a section in Plesk for ASP.NET settings (as shown below)
This has the option to change the connection string etc.I also asked my hosting provider about the method to be followed for attaching the database that I would upload. This was the reply in quote." mdf ldf files perhaps will be working at your local computer but this way database of mssql will not work on web server as on web server you will be required to create and restore your database backup file using plesk control panel.
Sample connection string for asp.net
mssql `Standard Security`:
"Provider=SQLOLEDB;Data Source=Your_Server_Name;Initial Catalog=Your_Database_Name;UserId=Your_Username;Password=Your_Password;"
Server name to be used in coding: localhost Catalog/ database name , database user and database password you will be required to create your own using plesk control panelI would be really be appreciative for the steps I have to take to upload my existing database. How do I have attach it? What connection string I have to use?
I am having serious issue running a MVC web site from IIS 6 especially with Windows authentication mode. I know its very simple but missing some ting between. Succeeded configuring MVC on IIS 6. Now Trying to enable Windows Authentication mode on MVC Web Site, Steps included in my configuration
- enabled windows authentication mode in web.config
- Enabled Integrated Windows Authentication on IIS web site under Directory Security.
- Given permissions to a Domain group (eg: asiaDomainGrp) [Read, Write] Do i need to add ASP.NET Machine accountIUSR_<machines name> under this?
During the intial loading, I am trying to query Active Directory to get authenticated user's full name to display on default page, this is not success full due to some issue, later I changed to "HttpContext.User.Identity.Name". Now I could able to access Default page from the web server, but real heck is here. For some reason IIS is using NT AUTHORITYANONYMOUS LOGON.
[Code]....
I have separated two servers as Web server/Database server.
I just moved my website from one server to another.It is a simple website to display news. I used dnn for it. The news module is made of a NEWS_ADD.ascx control and a NEWS_EDIT.ascx control. Now on the new server, when I try to edit the existing news, or try to add a new one, it says: "you don't have permission to access /manageadmin/newsadmin/tabid/72/ctl/edit/mid/376/mode/add/language/fr-FR/Default.aspx on this server."
View 3 RepliesI'm looking forward to enable my ASP.NET web application to utilize the Multi core processor. In Other words, I'm trying to have Multi-core functionality in my ASP.NET application.
View 3 RepliesI am newbie to asp.net.I want to create roles for the existing users in my database. I dont want to use the membership provider database n roles provided with it.(i don't want to use aspnet.mdf at all)
I am create roles for my existing users n assign i wanted to assign the particular roles to a particular assign.
I would like to figure out how to create an xml file that is of a directory of existing xml files. With this file I would then have an autocomplete extender to locate said blogs.
View 1 RepliesI'm trying to create a few custom web controls wrapping some existing controls. One of them, for instance, is a wrap for a textbox (because I need additional behaviors such as corresponding validators). The problem is, I'm not sure how to get the data of that control to be sent in the postback.
A very simplified example:
[code]...