|
Hello All,
I'm using ASP.NET 2008 (C#). I have created unit test project for my aspx page
after debugging it gives me error as follows
"Failed Page_LoadTest IndigoLogintest The communication channel with ASP.NET could not be configured. Requested Service not found "
Can someone please help me why I'm getting this error.
Thanks in advance.
|
|
|
|
|
Yes Even i am getting the same error given below.
"The communication channel with ASP.NET could not be configured. Requested Service not found"
|
|
|
|
|
Hi,
I am using VS 2003 with crystal report in it. I have develop a web site with crystal report for one of company client. I have done the below solution. I place the contain of release folder [setup (application), setup(config file) and an installer package] to bin folder in hosting. But still i am getting the errors
Cannot find KeycodeV2.dll, or invalid keycode.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: CrystalDecisions.CrystalReports.Engine.InternalException: Cannot find KeycodeV2.dll, or invalid keycode.
What i should do?? Pls its quiet urgent.....any help appreciate...
>Finding Out What the Crystal Report Distribution Key is on VS.NET 2003:
>
> 1- Open VS.NET 2003
> 2- Click on Help Menu Option
> 3- Choose "About Microsoft Development Environment"
> 4- Look under Crystal Reports for Visual Studio .NET, you will see a 19
> character number, which is the Distribution Key Code:
>
> Example: AAA00-BB00000-C0000DD
>
> Producing the Deployment Project:
>
> Open Solution Explorer, right click on the “Solution Name” at the top
> and Add a New Project. On the window that appears, move to Setup and
> Deployment Projects. Click on Setup Project (not the wizard), put a name
> for your deployment project (make a note of the location where the
> folder that the deployment project will be created in) and then click
> OK. A File System dialog will appear – solution explorer should be
> displayed on the left of screen. Within solution explorer – right click
> over your deployment project and select Add – Project Output. Another
> window will appear – select Primary Output (make sure configuration is
> showing Active) and click OK. This will result in the detected
> dependencies being updated & a primary output icon appearing in the
> deployment project. Right click on the deployment project name again and
> Add – Merge Modules. Add the following modules.
>
> Crystal_Database_Access2003.msm
> Crystal_Database_Access2003_enu.msm
> Crystal_Managed2003.msm
> Crystal_regwiz2003.msm
> VC_User_CRT71_RTL_X86_---.msm
> VC_User_STL71_RTL_X86_---.msm
>
> These were the appropriate modules for my application given that I am
> using VS 2003. Yours may be slightly different.
>
> Right click on Crystal_regwiz2003.msm and go to its properties. Enlarge
> the MergeModuleProperties tree and enter the product licence key.
>
> Go onto Build – Configuration Manager . Check that the Project &
> Deployment Project which appear are set to “Release” and the Build check
> box for each is checked. Build the Project. If all is well the build
> should show no errors.
>
> If this has gone according to plan you should now have (in the folder
> specified in the “location” window given when you added your deployment
> project) a debug and release folder. The release folder will contain:
>
> - setup (application)
> - setup (config file)
> - an installer package
>
> The release folder is all that is needed to deploy the application on
> another machine.
|
|
|
|
|
|
I have done it previously but no success. Just wondering whether the contain of the release folder (setup - application, setup - config and installer) have to be run on hosting or place it in bin folder?
I called the hosting guy, he said they dont allow to run it...
i am totaly lost....dont know what else to do...
|
|
|
|
|
i need to get whois records of a few thousand domain which are stored in our database.
i need registrant name,name server info, creation date and expiration date records. i can get whois records of some domains via whois servers but each whois server returning different whois record formats. where i can receive whois records same format. i hope you can understand me and help me?
viva la commune
|
|
|
|
|
Hi all,
am having datagrid in my application,I am binding somw data which is in hindi font.
It is not showing properly in some rows data,and if i use gridview all rows are displaying proper font.
why it is not showing hindi font in datagrid control.
I am assiging fontname property correctly.Some rows only havng this problem.any solution for this?
If you r free then reply me
kissy
|
|
|
|
|
I think font should be available to the browser to show the font properly. You need to build an installer which will install the font, and request the user to download it and run before viewing the page.
Hope you understand.
|
|
|
|
|
yes it is available and showing some rows correctly,only for some rows it is giving this problem.
I am not understanding how it will work for somw rows in the same grid?
kissy
|
|
|
|
|
Hi frnd,
I am working on dundas chart-and CHart type is Column(3D).
I am facing problem with the width of the Series.
What i need is-the fixed width of the series irrespective of the number(point count) of the series.
Thanking u in advance...
|
|
|
|
|
Hello
every one !!
I have been working on a page that has included master page.
i need to call javascript function that is defined inside
<asp:content xmlns:asp="#unknown"> of same page.
The call to javascript is made when page is viewed in IE 7.0.
But when same page is viewed in mozilla firefox,
there is no call to javascript function.
Javascript function defined in a Page without master page,
works properly irrespective of browser.
However problem to call Javascript function occurs when there is
a master page included i.e. asp:content and mozilla firefox.
any one have any suggestion ?
Thanks in advance.
|
|
|
|
|
|
Hi All,
I am using Ajax Popupcontrol to show a Gridview as a popup control. The gridview is embedded in a Panel.
In this scenario user will select the code (eg Client No) in the autocomplete text box and will click search. Then it will popup the gridview showing records(quotations) related to the selected Cilent No.
I want to hide showing Popupcontrol when the user click on search button without specifying a client no(and possibly diplay some error msg).
I have tried few javascipts but all of them tend to show the empty panel as popup.
Can anybody suggest me how can I achieve this?
Another issue is Suppose a user first search Quotation for Client 1. Then when user trys to search Quotations for Client 2, First the popup will show the records relared to first search and then refreshes with records related to client 2. How Can I avoid this?
Thanx in advance
samitha
|
|
|
|
|
try
Apurv
“Never trust a computer you can’t throw out a window.”
(Steve Wozniak)
“There are only two industries that refer to their customers as ‘users’.”
(Edward Tufte)
|
|
|
|
|
try
ModalPopupExtender1.Hide()
Apurv
“Never trust a computer you can’t throw out a window.”
(Steve Wozniak)
“There are only two industries that refer to their customers as ‘users’.”
(Edward Tufte)
|
|
|
|
|
You may want to look this up:
[^]
Goofd luck
Dan - rastaquere AATT gmail doott COM
|
|
|
|
|
hi,
i want to make a discussion forum for my website, bt i have no idea how to do it. can some one plz help me with how to start.
|
|
|
|
|
what is the problem you are facing.. Just create the website ... Nothing special to discussion forum, just need to show latest sorted discussions and add reply button to add a new reply.
Additional feature based on your logic.
|
|
|
|
|
|
Hello All,
I have a page on which I am using the wizard control.The finish button is on third step of the wizard. But i am having a FileUpload control in the first step itself.When I select a file in the FileUpload ,after clicking on Next,postback occurs and the Filename is lost.
I need the FileUpload, not to loose the filename till the last step.
I have tried saving the filename in viewstate,but since I need to pass the whole control in my method(which is predefined,and can not be changed),the viewstate solution didn't work.
I also found 1 more solution on internet i.e.
Manually add the enctype to the page's form on Page_Load()
Page.Form.Attributes.Add("enctype", "multipart/form-data");
but it is also not working,might be because the form tag is on my MasterPage and not on the requiered page.
Do anyone have any suggestion/solution to this problem?
Please help.
|
|
|
|
|
Hey.. dont add form Attributes, as ASP.NET handles the form itself.
Your server side form is totally different than your client side form. Thus any attribute that you place in the server side form will not be reflected to the client side form. Just like your case, enctype, onsubmit etc etc are replaced by your page when it renders to its own form.
|
|
|
|
|
Thanks for your reply sir.
But I still have not got the solution to my problem.
Can please suggest anything else to solve it?
I just want the FileUpload to retain its FileName till the last step of the wizard.
Thank You.
|
|
|
|
|
Actually Input type file is the most problematic dom element I have ever seen. Just you cant open a file without the user to have selected through browse button. Even after choosing the file if you just append the control to another form using javascript, the file reference will be wacked up.
I think what is the most viable thing to do, is to upload the file to the server when user chooses the file and then hold the context of the file in the server.
Other Wayouts :
Otherwise, I think you can embed a flash object in the browser to open files using flash open dialog box. Flash is more powerful in this regard.
You can also use Silverlight, If you wish...
|
|
|
|
|
Hi,
I'm trying to use WindowsLiveSearchProvider for search in my ASP.NET website. I've configured proxy and AppId in the web.config.
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true">
<proxy bypassonlocal="True" proxyaddress="http://proxyServer:80"/>
</defaultProxy>
</system.net>
<microsoft.web.preview>
<search enabled="true">
<providers>
<add name="WindowsLiveSearchProvider" type="Microsoft.Web.Preview.Search.WindowsLiveSearchProvider, Microsoft.Web.Preview"
appID="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" siteDomainName="http://localhost:49781/" />
</providers>
</search>
<diagnostics enabled="true"/>
</microsoft.web.preview>
This is the html part:
<asp:GridView runat="server" ID="myGrid" datasourceid="mySource" AutoGenerateColumns="false">
<Columns>
<asp:BoundField HeaderText="Title" DataField="Title" />
<asp:BoundField HeaderText="Url" DataField="Url" />
<asp:BoundField HeaderText="Description" DataField="Description" />
</Columns>
</asp:GridView>
<asp:SearchDataSource ID="mySource" runat="server">
<SelectParameters>
<asp:ControlParameter Name="query" Type="String" ControlID="query" />
</SelectParameters>
</asp:SearchDataSource>
But when click on Search, I receive SoapException. This is the Stack Trace:
[SoapException: Client Error]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431766
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
Microsoft.Web.Preview.com.msn.search.soap.MSNSearchService.Search(SearchRequest Request) +107
Microsoft.Web.Preview.Search.WindowsLiveSearchProvider.Search(SearchQuery searchQuery) +606
Microsoft.Web.Preview.Search.SearchService.Search(SearchQuery query) +264
Microsoft.Web.Preview.Search.SearchService.Search(String query) +85
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +261
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) +488
System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1247
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) +22
System.Web.UI.WebControls.GridView.OnPreRender(EventArgs e) +17
System.Web.UI.Control.PreRenderRecursiveInternal() +80
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
I've Googled for a while, but could not find a solution. Any help in this regard would be sincerely appreciated.
Blumen
“Last night I lay in bed looking up at the stars in the sky and I thought to myself, where the heck is the ceiling.”
|
|
|
|
|
i want to apply font size and color which i had in one of the cssclass in stylesheet.I want to apply it on the string . Can anyone please let me know how it is done.
|
|
|
|