Asp.net 1.1-interview-questions-and-answers 34

3,505 views
3,451 views

Published on

Asp.net ina learning time

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,505
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
28
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Asp.net 1.1-interview-questions-and-answers 34

  1. 1. Asp.net 1.1 Interview Questions and AnswersOkay, I am a student. My assignment is to create A Web Application Project.I am using VB.Net. I click file on the menu bar, then new, then project. When the New Project Dialog box opens I selectVisual Basic Project and ASP.NET Web Application. In the location field, I type in the location the book says to type in.Now The Problem, As soon as I click OK, I get an error messages.The web server reported the following error when attempting to create or open the Web Project located at the followingURL. http://localhost/Chapter6/Tutorials/WebA... HTTP: /1.1 403 Access Forbidden.I click on the help menu and it states for me to contact the system administrator, doh, that is me.So, I need to do my homework and I cannot :(Please if there is anyone out there that can help me resolve this, I would be very appreciative.peace,mavinAnswer :: I know nothing about VB.net, but Google and I are pretty tight:<a href="http://www.codeproject.com/books/1861005040.asp"rel="nofollow">http://www.codeproject.com/books/1861005...</a>If you get a 403 error message, then its probably because you dont have permission to execute the ASP.NETcode contained within the page....As youll recall, permissions are controlled by the properties of the virtual directory that contains the ASP.NETpage. To change these properties, youll need to start up the IIS admin snap-in in the MMC, as we describedearlier in the chapter. Find the BegASP.NET virtual directory in the left pane, right-click on it and selectProperties....Hope you can find some help in there or in the link above. .... Read MoreServer Error in / Application.--------------------------------------...Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that &lt;machineKey&gt;configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.Description: An unhandled exception occurred during the execution of the current web request. Please review the stacktrace for more information about the error and where it originated in the code.
  2. 2. Exception Details: System.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a WebFarm or cluster, ensure that &lt;machineKey&gt; configuration specifies the same validationKey and validation algorithm.AutoGenerate cannot be used in a cluster.Source Error:[No relevant source lines]Source File: App_Web_default.aspx.cdcab7d2.um3t8_ne.0... Line: 0Stack Trace:[HttpException (0x80004005): Unable to validate data.] System.Web.Configuration.MachineKeySecti... buf, Byte[] modifier, Int32 start, Int32 length, Int32 dataLength)+2646292 System.Web.UI.ObjectStateFormatter.Deser... inputString) +214[ViewStateException: Invalid viewstate.Client IP: 65.34.193.236Port: 4249User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)ViewState: /wEPDwUKLTI3MTEzOTkxMQ9kFgJmD2QWAgIDD2QW...[HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster,ensure that &lt;machineKey&gt; configuration specifies the same validationKey and validation algorithm. AutoGeneratecannot be used in a cluster.] System.Web.UI.ViewStateException.ThrowEr... inner, String persistedState, String errorPageMessage, BooleanmacValidationError) +116 System.Web.UI.ObjectStateFormatter.Deser... inputString) +251 System.Web.UI.ObjectStateFormatter.Syste... serializedState) +4 System.Web.UI.Util.DeserializeWithAssert... formatter, String serializedState) +37 System.Web.UI.HiddenFieldPageStatePersis... +220 System.Web.UI.Page.LoadPageStateFromPers... +83 System.Web.UI.Page.LoadAllState() +35 System.Web.UI.Page.ProcessRequestMain(Bo... includeStagesBeforeAsyncPoint, BooleanincludeStagesAfterAsyncPoint) +6978 System.Web.UI.Page.ProcessRequest(Boolea... includeStagesBeforeAsyncPoint, BooleanincludeStagesAfterAsyncPoint) +213 System.Web.UI.Page.ProcessRequest() +86 System.Web.UI.Page.ProcessRequestWithNoA... context) +18
  3. 3. System.Web.UI.Page.ProcessRequest(HttpCo... context) +49 ASP.default_aspx.ProcessRequest(HttpCont... context) in App_Web_default.aspx.cdcab7d2.um3t8_ne.0... System.Web.CallHandlerExecutionStep.Syst... +303 System.Web.HttpApplication.ExecuteStep(I... step, Boolean completedSynchronously) +64--------------------------------------...Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832Answer :: Does not look easy. May be you can contact an ASP.NET expert. Check websites like <ahref="http://oktutorial.com/" rel="nofollow">http://oktutorial.com/</a> .... Read MoreParser ErrorDescription: An error occurred during the parsing of a resource required to service this request. Please review thefollowing specific parse error details and modify your source file appropriately.Parser Error Message: Could not load type ***_Ananda_Murugan.frmUserCheckMail.Source Error:Line 1: &lt;%@ Page language="c#" Codebehind="frmUserCheckMail.aspx.cs" AutoEventWireup="false"Inherits="***_Ananda_Murugan.frmUserChec... %&gt;Line 2: &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" &gt;Line 3: &lt;HTML&gt;Source File: C:Inetpubwwwroot*** Ananda MuruganfrmUserCheckMail.aspx Line: 1--------------------------------------...Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573Answer :: solution to this problem is very simple and u just need to check th esite www.solutiuons.com .... ReadMoreVisual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will beAnswer :: Install IIS or check whether IIS is running or not.Type "services.msc" at run menu. The last service shown is the IIS (Worldwide web publishing service). Ensurethat it is running. .... Read Morehi all,
  4. 4. i have recruitment website i want that if any job will be postedin that condition..an auto search is occured and every meeting criterea(to that job prfile a link will be search) a mail will be send to all ofjobseekers.but i dont how i will be do?pls help !i m ASP.NET 1.1 DEVELPERTHNKSsuryaAnswer :: store each resume along with a list of keywords in database as well as mail idswhen it matches send a mail to mail id (if your webhost is providing SMTP support you can code it in ASP.NET)We can code for you as well contact usatexpert.myitcareer. org .... Read MoreHello friendsPresently I am working with on .net (asp.net,C#. net) platform(Framework 1.1) from last 6-8 months in India.Within this period I heard many statements from other software peoples like Microsoft.net technology is platformdependent and software companys has to pay large cost to purchase it from Microsoft (Which not in case java and c++).After some time the IT companies may be avoid to develop softwares in .net as they have open source code available asfree.Also java peoples get more salary package than .net.There are always more requirement s in java than .netThe .NET platform is not vendor neutral, it is tied to the Microsoft operating systems only.I replied these peoples saying .net is faster then java (in speed performance issue)..net has web services which are platform independent..net supports many languages including C# which is equivalent tAnswer :: No one cares about performance now a days, we have more and more faster and cheaper hardwarenow a days. .... Read MoreThere are bunch of new controls to reduce line of code. like login functionality , impersonation , master pages etc.No major change in the architecture of asp.netAnswer :: ASP .NET 1.1 and ASP .NET 2.0 in much the same.The Difference is the Framework. The .Net framework. The first one(1.1) is older. Visual Studio 2003 uses the1.1 framework, and the 2005 VS uses the 2.0 framework. .... Read More
  5. 5. i want to display a flash file(intro.swf) in my index window. i dont know html completely. kindly help me to display myflash in my asp.net webpage. thanks in advance.Answer :: Download a trial version of Dreamweaver and insert your flash movie within Dreamweaver. Look atthe code. It will give you all the necessary HTML, Parameters, Flash Movie size, width..etc.. and other factorssuch as the new IE. solution (keep IE from showing that annoying fricken "Click here to use" message as longas you download that plugin) and subsequent links to the java fix files.Simply drop that code into your ASP page.The real question however, is why are you using ASP and not PHP? .... Read Morehi all in my webi am getting this msg plz help meParser ErrorDescription: An error occurred during the parsing of a resource required to service this request. Please review thefollowing specific parse error details and modify your source file appropriately.Parser Error Message: Could not load type IntraRathi.MacError.Source Error:Line 1: &lt;%@ Page Language="vb" AutoEventWireup="false" Codebehind="MacError.aspx.vb"Inherits="IntraRathi.MacError"%&gt;Line 2: &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;Line 3: &lt;HTML&gt;Source File: D:wwwIntraadminMacError.aspx Line: 1--------------------------------------...Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032Answer :: thats a new one, never seen that one before.what version of IE are you using?IE6 or IE7?what country you in? .... Read MoreI have a home-based business as a Slumber Parties consultant, have had no issues getting on the distributor part of thewebsite - except since Sunday I cant get on our chat or bulletin board sections. The screen below is what comes up.Have contacted tech support from Slumber Parties, they told me to delete cookies, put slumberparties in my trusted sites,
  6. 6. and have the internet check for a new page every time I visit. None of it worked, Im getting REALLY frustrated!Everything else seems in working order on my system.Server Error in /instantforum34 Application.--------------------------------------...Object reference not set to an instance of an object.Description: An unhandled exception occurred during the execution of the current web request. Please review the stacktrace for more information about the error and where it originated in the code.Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the originand location of the exception can be identified using the exception stack trace below.Stack Trace:[NullReferenceException: Object reference not set to an instance of an object.] InstantASP.InstantForum.WebSite.Global.S... Sender, EventArgs E) in C:InetpubwebsitesSlumberPartiesdistr... System.Web.SessionState.SessionStateModu... e) +132 System.Web.SessionState.SessionStateModu... +514 System.Web.SessionState.SessionStateModu... source, EventArgs e, AsyncCallback cb, Object extraData) +697 System.Web.AsyncEventExecutionStep.Syste... +66 System.Web.HttpApplication.ExecuteStep(I... step, Boolean completedSynchronously) +173--------------------------------------...Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300Answer :: i have the same warning "unhandled error" when i try to log in to yahoo go! 2.0 mobile service troughmy nokia E61i - i installed without problem... today when i tried to log in to see my emails, it gave me thatwarning and i recall of not changing any settings since yesterday! <ahref="/question/accuse_write?qid=20070420175751AAst86Ikid=NbUvWDO5WTb0SKFG1v2fs=commdate=2007-08-27+11%3A14%3A33.crumb=" class="report-abuse">Report Abuse</a> .... Read MoreWhen I tried to open my WebApplication it shows the following error.Visual Studio.Net has detected that the specified Web server is not running ASP.Net version 1.1.You will be unable torun ASP.Net Web applications or services
  7. 7. What should I do?I dont have any CDs of .Net and IIS.If I want to reinstall, from where did I get it free?Answer :: I am fairly certain you can download the files for free from the Microsoft website.. .... Read MoreThanks "David S" for suggesting I use (WWF) Windows Workflow Foundation.The background is:I have an application developed on vb.net on asp.net version 1.1I need to embed Workflow functionality, and need to do this in a cost effective manner, as this application is for resale.I now have follow up questions:Q1: As WWF is only available on ASP 2.0, I would have to compile my 1.1 application using ASP 2.0 is thisstraightforward? Are there any expected challenges?Q2: When embedding the workflow, is it easy to give the “non technical - business users” the ability of defining newworkflows?Q3: When embedding the workflow, is it easy to give the “non technical - business users” the ability of defining (changing)routing of predefined workflows?ThanksAnswer :: Q1: Actually, Windows Workflow Foundation is a .NET 3.0 technology, not a .NET 2.0 technology, soyou need to scale up even more.Some objects in ASP 1.1 are gone or significantly changed in ASP 2.0, and some ASP 1.0 objects are gone orsignificantly changed in ASP 3.0. Whether that affects you depends on your code. Theres no way to say forsure.2. It depends on the structure of your application. If properly structured, yes, that shouldnt be an issue.3. Again, it depends on how you design it, but the short of it is, while its not a good idea to give non-technicalpeople control over technical matters such as this, yes, you can do that. .... Read MoreWe are group of highly qualified professional working on sub-contract works for few s/w companies from US and Canada.Our Projects includes mostly in Microsoft Technologies such as ASP, ASP.NET, C#, VB.Net, .Net 1.1 .Net 2.0framework, SQL Server 2000 2005 . Apart from MS technologies, we have done few projects in PHP4.0 MySQLcombination.All our projects have been Web application, most of them e-commerce application which includes B2B B2C application.I am looking for projects. how can i get projectsAnswer :: I would suggest browsing the available projects at <a href="http://www.getafreelancer.com"rel="nofollow">http://www.getafreelancer.com</a> and bid on those you feel confident that you can accomplishfaster or for less than the others are bidding. .... Read More
  8. 8. S Parser Error Message: Unrecognized configuration section connectionStrings?Hello all, I have a live site and i want add some new files of asp.net2.0 on it my iis is smoothly running and try maximumsolution on it like Aspnet_regiis.exe /i, aspnet_regiis.exe -s W3SVC/1/ROOT/myApp1 and i also select the websiteproperties, and on the tab ASP.NET select ASP.NET version to 2.0.50727 but problem stillLine 10: &lt;configuration&gt;Line 11: &lt;appSettings/&gt;Line 12: &lt;connectionStrings/&gt;Line 13: &lt;system.web&gt;Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407it show Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407 but i make the site v2.0Answer :: You cannot mix .net 1 and .net 2 together on same website.You have to choose one.If you want to run on .net 2 there are several things to be done.1. use a dedicated application pool for .net 2 and select it for your website on website properties2. on website properties change .net versionYou can read more here <ahref="http://www.webcosmo.com/listing/Details.aspx?countryId=1gId=1postId=2748"rel="nofollow">http://www.webcosmo.com/listing/Details....</a> .... Read MoreServer Error in / Application.Cast from type DBNull to type String is not valid. Description: An unhandled exception occurred during the execution ofthe current web request. Please review the stack trace for more information about the error and where it originated in thecode.Exception Details: System.InvalidCastException: Cast from type DBNull to type String is not valid.Source Error:An unhandled exception was generated during the execution of the current web request. Information regarding the originand location of the exception can be identified using the exception stack trace below.Stack Trace:[InvalidCastException: Cast from type DBNull to type String is not valid.] Microsoft.VisualBasic.CompilerServices.S... Value) +616 EnglishViewProfile.join.Button1_Click(Ob... sender, EventArgs e) in Y:WebFoldersVOP_USA_TESTenmembersjo... System.Web.UI.WebControls.Button.OnClick... e) +108 System.Web.UI.WebControls.Button.System.... eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IP... sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(Na... postData) +33 System.Web.UI.Page.ProcessRequestMain() +1292
  9. 9. Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300Answer :: try this web later .... Read More

×