Configuration :: Existing Site Based On NopCommerce 1.6 CMS (.Net 3.5)?
Sep 12, 2010
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]....
View 4 Replies
Similar Messages:
Oct 3, 2010
I 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?
View 3 Replies
Dec 15, 2010
I need to create the web-site updater for existing customers.In which I also need to update the database
View 1 Replies
Oct 19, 2010
I want to make a 2nd website and am using a copy of the site files from my 1st site built for me, I added them via FTP to the hosting company. I realise when I edit the new site via the CMS it is editing both sites plus when I try to change anything to the CSS file I get the following error -
C:inetpubvhosts*****mysite******httpdocsapp_themessiteStyleSheet.css
So my questions are what do I need to change to be able to deploy a new site with the files I have to make a new site?I also don't understand where the password is coming from, I can see the User ID comes from the database. in the Asp.net connection strings are the following:
site Data Source=sql7.hostinguk.net;Initial Catalog=***;User ID=***;Password=*** - Where is this password coming from?
membership Data Source=sql7.hostinguk.net;User ID=***;Password=***;persist security info=False;initial catalog=***;
View 2 Replies
Jul 12, 2011
I have a simple intranet site. It has a role based authorization in the web.config file.
Any user's in a specific role called as "Apr-Sales-Writers" will be authorized to use those pages. If not, they will not be authorized. So far so good. Works fine. But we added additional functionality where a new active directory group (means new role) has to be added and user's belonging to this new AD group should be given access to only specific .aspx pages on the intranet site. I am using a web.sitemap and it looks like this.
If the user's belong to say AD group "Apr-Sales-Writers", they should access only default.aspx and salesData.aspx pages. User's belonging to new AD group (which I did not include in the web.config file below), should have access to other .aspx pages.
[CODE]<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="default.aspx" title="Home" description="Home">
<siteMapNode title="sales Data" description="sales Data">
<siteMapNode url="salesData.aspx" title="sales Data" description="sales Data" />
[Code] ....
View 7 Replies
Jan 20, 2011
I 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).
View 3 Replies
Sep 27, 2010
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)?
View 1 Replies
Sep 6, 2010
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.
View 3 Replies
May 10, 2010
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).
View 2 Replies
Mar 15, 2010
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 Replies
Feb 3, 2011
I can't for the life of me remember how to do this and I'm sure someone will answer this pretty quickly. I need to insert or update a record based on if it exists so in the SP I need to do:
SELECT * FROM table1 WHERE LinkedID = @ID Then I need to check if any rows were returned and apply it to an if statement which is where my mind is blocked.
View 2 Replies
Jun 15, 2010
I 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 Replies
Sep 15, 2010
I installed Web Matrix and then installed the NopCommerce site from the web gallery. I set a break point in the default.aspx page_load but when I try to debug it skips the break point because it says "~no symbols loaded..."
When I pressed play button initially it asked if I wanted to enable debugging and I answered yes.
View 2 Replies
Jul 7, 2010
The setup was incredibly easy. The shop was up and running (Local server, for now!) But then I am confused. When the user will purchase a product from my shop, how will I receive the payment?
I searched a lot in order to setup my credit card/accounnt/paypal information in the Admin area, but I couldnt find anything...
View 3 Replies
Feb 25, 2011
I am using asp.net2.0 , C#. I am binding menu control with sitemap to display menus and submenues. Which also restrict access and display of menu or submenu based on user's roles. I want to know Is it Possible to show/ Hide submenu based on sql tables with existing sitemap method
View 1 Replies
Jul 16, 2010
I 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....
View 3 Replies
Jul 28, 2010
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 Replies
Sep 15, 2010
We 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.
View 2 Replies
May 31, 2010
I have one asp.net application i need to make my website secure..
View 2 Replies
Jan 14, 2011
I 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?
View 1 Replies
Aug 11, 2010
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.
View 4 Replies
Nov 26, 2010
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 Replies
Mar 11, 2010
I'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 Replies
Aug 5, 2010
i have registered a domain and in IIS 7.5 created a new Website for this domain. It works great the ASP.NET website (BlogEngine), now i wanted to add another ASP.NET webapplication to call it something like this:[URL]I tried to add to my existing website, a virtaul path to the ASP.NET webapplication und converted to an application. after calling the URL i get an exception, that i could not load an assembly of the website (mydomain) : Could not load file or assembly 'BlogEngine.Core' or one of its dependencies. The system cannot find the file specified.
View 1 Replies
Feb 4, 2010
I have a few sites that use the same application but use details to populate the site content such as title, logo and theme based on the URL. These details are stored in a database.
What is the best way to populate these details. I was thinking this should be done in the Global.asax rather then my page.master
I have a master page that is used for all the sites and had the code called ther but it might be better to do the database calls in Global rather then in the master page?
View 3 Replies