Web Forms :: Find Error While Building A Website?
Nov 13, 2010I cant able to find the error page while building a website.
See the above 3rd line error in image.
So ,how to know where the exact error is occured.
I cant able to find the error page while building a website.
See the above 3rd line error in image.
So ,how to know where the exact error is occured.
I've got a asp.net web application, but if i try to publish it i get this error:Error 210 Copying file objDebugPackagePackageTmpimagesaanhalingsteken1.png to bjDebugPackagePackageTmpobjDebugPackagePackageTmpimagesaanhalingsteken1.png failed. Could not find file 'objDebugPackagePackageTmpimagesaanhalingsteken1.png'. 0 0 I've deleted this image, so what to do so the project can be build well ?Is there a collection of images somewhere?
View 2 Repliesi've got a weired problem using an event-Handler in a Usercontrol I built. The Question to this is pretty simple. I don't get the "SelectedIndexChanged" Event on one of my ListBoxes which I turned to a Multiselection Dropdownlist with jQuery. It's a simple ListBox which should return the new values and should fire the "SIC" Event right? But it doesn't. I don't even get the new values as I try to change values and then read them. I spent more then 2 days searching for an appropriate answer but didn't find anything. As I tried to build a WebSite using some Usercontrols combined with AJAX I'm thinking about letting the Usercontrols out.
View 3 RepliesI am required to develop a page for news updates where user of the website can see the latest news updates with images in hindi. Like some news paper website. [URL] ....
When user click on the read more or on the title of the news complete news will displayed on news on new tab.
when admin of the website update the new it will appear on the page. where recently updated news is display first position.
admin of the website have authority to do following task
1. update the news.
2.edit the news.
3.delete the news
Can i make use of sqlserver for storing the news or xml.
I'm building sport game and i really have hard time to find the correct formula of how to automate the building of each league games structure.leagues can come in various number of teams (eg. 4, 6,8,10...)each season is built from two round and in each round every team playing one match against each other.to make it even harder each team should play every second match in its own Arena...so if league is built from 4 teams it should be something like
Code:
First half of the season:
Round 1
Team A Vs Team B
Team C Vs Team D
Round 2
Team A Vs Team C
Team D Vs Team B
Second Half of the Season
Round 1
Team C Vs Team A
Team B Vs Team D
Round 2
Team D Vs Team C
Team B Vs Team A
I would like to ask for advice how to build mvc web application for iPhone.
If you have any code sample, Good example how to start and get deep into it.
I have an image that was a gif and saved as a favicon.ico. I get an error when I build the project that says data is invalid for this. What does this mean? Is it corrupted?
View 2 RepliesI want to building a website. I don't know step build a new website. I don't know use DataSet or create new class store connection string connection to DB ?
View 3 RepliesI am building my first ASP.NET MVC site and this site needs to be in 2 languages.
When a user selects a language from the menu, the site would present itself in that language.
The content likely will be loaded all from resource files. Can I respond to a change in the culture definition at runtime so it load the correct resource file?
I want different URLs for both languages. Perhaps something like mysite.com/en/home/index.
Is this possible? The users should be able to forward and save links and that the site will be loaded in their language.
How can this be done with ASP.NET MVC?
I'm wondering building a website like StackOverFlow (approximately the same features using ASP.NET ) How much Work-power and time does it take in your opinion . My boss has asked me to estimate for work-power , time , cost and suitable technologies .
View 6 RepliesVisual Studio 2008 shows a lot of erroneous errors when building a website (not a web project) in the errors list. These errors are usually corrected (removed) when I rebuild the site a couple times but they cost me wasted time.Is there anyway to hide the erroneous errors?
Update:
I've decided to look into this to see if I could reproduce it. This is the exact behavior I am seeing, using the website model, I type some invalid syntax on a page. The errors list fills up with errors. I correct the error and the errors list does not update. I build the project and the errors list still shows the errors but the build shows as build completed. I build the project a second time and the errors list is cleared.
My question is there anyway to make the errors list clear on the first build? I thought it might have something to do with page build vs website build but it seems to make no difference. I am not using any third party dlls on this website.
I've learned asp.net from books available on the internet, but I didn't find a good book that teaches you some techniques or logic to follow to build an administration area to control the front-end.I mean they talked about security, membership and roles. but still they didn't show you how to manage anything that's not related to a database, anything that's related to a database you'll probably create a page to display some info from a db with some SELECT commands and another page for the admin to INSERT, DELETE, UPDATEbut how can I connect to the other controls from my admin panel.for example : a textbox in the admin.aspx will edit the value of a certain label in display.aspx
another example : I built a web user control to retrieve articles from a DB and another control to be placed in the admin page, which will let the admin add new articles and it will insert it to the database, how can I add more power to the admin page to control the number articles to display on the page, or to control the sorting of the articles, etc...If i could get a name of a book that helps me with the logic or basics of creating a page that works like my admin panel to control the front-end it would be great,
I have been asked to do some work on a website. I downloaded all of the files and chose "open website" in Visual Studio. In the picture below you can see the file structure. When I run the project I get some errors such as "could not load type 'AdminSite.Partner.Listing" or "file project/adminmaster.master does not exist'. Now, those files are indeed there. I have noticed that within the Admin folder and the Home folder there are compiled DLLs in the bin folders. Also, there are project files within each of those folders. I've tried opening the project files and the projects only encompass the files within each of the Admin and Home directories respectively. I'm just wondering what the best way is to set up this solution. As I've done so far, by opening it as a web site, why is it not seeing the DLLs in the bin folders when I run it? Do I need to reference them somehow?
View 5 RepliesWe are building an extranet loan status check website using ASP.NET MVC with a WCF backend. Its a pretty standard design with the MVC site using a WCF service reference to get customer objects. The ervice uses an Oracle backend + http binding, and won't be hosted on the same server as the MVC site (so we can't use tcp binding to reduce latency).
The problem we encountered is that every call to the service is resulting in a 7-8s response time which is unacceptable for an extranet site and much higher than the 2s magic mark. The service method(s) call 12 stored procedures to create the customer object. The database is, unfortunately, denormalized (we can't change it as its also used by other inhouse production systems) so most of the calls are basic select statements which populate the customer object and its associated objects. The service proxy is properly opened and closed/disposed in the MVC actions so there are no instances of any service connection leaks. A new client proxy is created for every request (i.e., we are not using the singleton pattern for the service). how we can speed this up ?
I am in the planning phases of building a new ASP.NET website. The website is really a transactional web application where the users will log in and perform basic CRUD data operations. For right now this website will be accessible through a traditional desktop browser and a mobile browser. For the mobile browser we will build a separate scaled down version of the site.In the future we may decide to create native mobile applications for Android or iOS devices also.
So the question I have is what is the best way to design the system to easily support that? Here is what I am thinking. I am thinking of building out 3 tiers to the site. The back end will be the database - SQL Server 2008. We will use stored procedures for all data access. The middle tier will be a web services tier. This tier will be built using RESTful web services and will contain all of the business logic. These web services will provide access to the database. The front end will be built using ASP.NET. The front end will only contain presentation logic. These tiers will actually be deployed on physically separate servers.
Then I am thinking that when we decide to build a native Android or iOS app that we could build those apps to simply call the same RESTful web services that the main site is calling.Does this seem like a reasonable approach? The only thing I can think of is that the way we are building it right now the web services would be behind the firewall and would not be accessible to the outside world. When we want to support a native mobile app then we would need to make the web services accessible to the outside world.Any thoughts? Does this seem like a good approach for building a high availability, high usage web app that needs to support native mobile apps in the future?
i want to build a simple information web site , that contains;
1. text
2. links
3. images
4.tables
i do not need to connect to a database or other services , no login is required .
so is it possible to create such a simple web site using Visual web developer express?
I am ruuning VS 2008 on Windows XP Service Pack 3. The problem I am facing is that my windows crashes after a blue screen whenever I run a website in VS2008.Its only with websites projects in VS2008 but not with WinForms projects. WinForm applications running without any problem.This happens in this sequence that when I run the project, it starts, debugs and port is opened for my project (a popup that comes right near the system clock in taskbar) and suddenly after that a blue screen comes and Windows restarts. After restarting,
a message comes that system has been recovered from a serious, send report to Microsoft blah blah blah...Can anybody figures it out what problem there can be?
I'm left maintaining a proprietary codebase from a third-party vendor. The vendor is still sort of around, but support is limp. The site is ASP.NET.I have made some changes but I am having a really hard time getting IIS to compile these changes in. The bin/ directory has what I believe is a precompiled dll for the core classes. I've changed these but it doesn't recompile. I have tried deleting the dll but then the app refuses to build saying that the Global.asax can't inherit the type anymore, so I don't really know how to rebuild with changes.
View 3 RepliesI'm trying to use DropDownList like this
[Code]....
and when I build my project I get this error:
Error 2 'System.Web.WebPages.Html.SelectListItem' does not contain a definition for 'WriteLiteral' and no extension method 'WriteLiteral' accepting a first argument of type 'System.Web.WebPages.Html.SelectListItem' could be found (are you missing
a using directive or an assembly reference?) c:UsersUser1AppDataLocalTempTemporary ASP.NET Fileswebmvp8a9a9ab08b762337App_Web_nzuoptnz.3.cs 71
How I can fix this?
I've setup an ItemTeplate like so in a GridView:
<asp:TemplateField HeaderText="Building">
<ItemTemplate>
<asp:Label
[code]....
I want to find the ID's of all the controls in my website. I have written a seperate class and i am calling it from each page to get the ID's. That works fine.
At the application_start event i want to get the ID's of all the controls in each page of my website and save it to the DB.
Like this
page_name controls_in_the_page
-------------- --------------------------
default.aspx textbox1,dropdownlist1
default2.aspx checkbox1,textbox1,textbox2
I want to call the function only once in my application's life cycle. I want to call the function for each page, from the application_start event.. From the DB i take these controls for specifying access rights which is one of my modules.
I want to find the root path of my asp.net website.
Im using Request.PhysicalApplicationPath right now which looks like this:
F:CasperMy DropboxDotNetPortfolioV2 (Which is good)
But if I go to a folder it will be:
F:CasperMy DropboxDotNetPortfolioV2FolderName (Not good)
I just want the root.
find a voice recorder software to be used in my asp.net website in windows 2003 server. The recorder software must be installed only on the server and not on the client.
View 1 RepliesI want to know hom many users that uses may website (they logged in in current time)
or how many active seesions are in my site in asp.net using C# ?
I am getting this message is one of my subdomains. This was running fine before.
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
When I tried to look in the event log I found this error.
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.
The site is running on the asp.net 2.0. The parent site is running fine including other subdomains. It is only this subdomain that is having problem and I think I have all the necessary permissions.