I sent a lot of time trying to trouble shoot IIS 6.0 yesterday on a pre-compiled website. I could never browse the default web page. I got the initial bar on the bottom right when I set up the site but then got a blank page. The I got frustrated with IIS and decided to try just copying all my web application files to the IIS server. When I did this the application worked! I have used pre-compiled sites before with no problem.
I'm trying to run a website (site2) that I've placed inside a folder (dir-site2) of another website (site1). The default file of site2 displays fine in every browser on my local computer, as in when I type http://localhost:45912/www.site1.com/dir-site2/default.aspx. But when I upload everything to my host's server and type this
http://www.site1.com/dir-site2/default.aspx I get a server "can't access" error message. I can't display any file that is inside the subdirectory, dir-site2.
I have a website using .Net framework 2 on a dedicated server who's display periodically corrupts - typically after heavy traffic numbers to the server. I can correct the problem simply by uploading a batch of user-controls to the server, or recycling the memory pool.
Has anyone else seen this type of effect before, where the display of data-driven elements of a website corrupt?
When I try to upload my website I have created to [URL] then test it I cannot see any home page or anything. Just a list of pages etc I have uploaded, Its like im looking into a FTP server. I publish using visual studio 2010, I have tried both Copy website over to my FTP server and Publish website under the build button.
I have a simple webApplication. Now I have a second webapplication with few web aspx pages. When I build each project I get aspx files with 1 dll per project.
Now the structure of the first webApplication is like this
Is it possible to load the dll of the second application dynamically and put its dll into the bin directory. The result will be something like this:
The problem is that when I try to open application2default.aspx the compiler is throwing an error that it cannot find the class for that particular page because the assembly inwebapplication2.dll is not loaded. I tried to load the assembly from the web config like this <add assembly="myassemly, Version=126.96.36.199, PublicKeyToken=null, Culture=neutral"/> and also from the code like this Assembly.LoadFrom( @"D:Projectsinmyassemly.dll" ); OR Assembly.Load( "myassemly, Version=188.8.131.52, PublicKeyToken=null, Culture=neutral" ); but I still have no success. Can u tell me what is the logic here with the assembly load?
I have a website1 that works. I created a new website2. I went to windows explorer and copied website1 folders and files to website2 directory. I created aspnetdb in website1 using the membership provider service. I detached it from website1 and attached it to website2. When I run website2 in debug, I get message "Internet Explorer cannot display the webpage".
I have my website which is deployed in precompiled mode but I would like to know if there where any possiblity so I could republish a single precompiled page instead of the whole wbesite all over again (and this just for one little modification) ? If not, would it be more suitable if I did not use precompiled website for the deployment?
I hv a master page with image field which displays the profile pic of the user. now i want to display this image to the image field on the master page as and when the user logs in (like in fb) i hv used http handler to display the image from db. i m able to imsert and display image from db.but how can i write a select query to display the users image.i m using sql server 2008 and asp.net vb
Am stuck up with a task to display tweets from a particular user in website's home page.The website uses a web service which inturn uses Twitter APi to fetch tweets.The thing is Twitter Api returns tweets in a page containing tweets, posted over a week.
results per page is sent as a parameter. But for one request call the web service can return only one page which contains tweets for a period of one week.
But i want to fetch tweets posted over last three months.
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 -
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=***;
Passing Variable from page to page using ASP.NET (C#) without using QueryString
The difference in my case is that the request is coming from a different website (in java) to my website (in asp.net). I do not want the variable to appear in url.
To explain my scenario, we are making a webpage(plugin), which can be called from any other website. To authenticate request, i am looking for a mechanism when other website will pass id & auth-key to my page. This i can use to authenticate the request. I do not want these variable to be visible.
I've been reading through the fb developer api documentation and I'm trying to find out what would be the easiest way to post information on a website to the website's own facebook page. for instance - the assumed workflow is like this:
an admin user adds new content to the company website - and once submitted that content should automatically appear as a link on the company's facebook page.
Do I use the API, facebook Connect, a facebook Share button etc. Looking for some recommendations based on my assumed workflow. Project will be coded in c# (although I'm really looking for recommendations of which tool to use from someone's experiences with the api)
I have a website built in .Net Framework 4. It's built on my Win 7 X64 pc. When I add a x64 dll file as reference I get a "Could not load file or assembly 'xxname' or one of its dependencies. An attempt was made to load a program with an incorrect format."I know that I can set the application pool to enable 32 bits application or not, but this error cause me to not being able to debug or compile the website. How do I proceed?
I have a website that is hosted on IIS6 and set to use .NET 4.0, but I still have a WCF service on the site that is using 3.5. When i browse my svc file, i get the error:
unrecognized attribute 'targetFramework'
and it point to the websites root web.config. I have tried this MSDN article and still get the same error. My site is using a different app pool than my WCF service, and is configured to use 4.0 in the ASP.NET tab of properties. I have also checked and made sure that my WCF service is using 3.5(2.0) in its ASP.NET properties tab.