I am a beginner in vb.net and asp.net.
I have been researching and experimenting a few methods forthis one week, none worked, most of the methods will only print one page (current page) in the crystal report.
Meanwhile, the default print button in the crystal report viewer has only the export option, in the pop menu that comes outwhen the button is clicked.
I want to have an external button in which when its clicked it opens the print preview page, displaying all pages of the report from the crystal report viewer, where the user can select the printer, adjust whatever settings, and choose the pages to be print.
IS THIS EVEN POSSIBLE? what would be the best method? please give me some example code. Thanks in advance
My WCF Service that's deployed is giving me the faulted Exception as below:
Loggedin User: DHSINTRA\AAleemMo
Error Message: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it isin the Faulted state.
Error Source: mscorlib
Error InnerException Message:
Error TargetSite: Void HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)
Exception rethrown at :
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout)
at System.ServiceModel.ClientBase`1.System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout)
at DHCS.BH.Provider.WebApp.Common.WebAppLogger.LogError(String applicationName, String version, Exception exception, Nullable`1 dateTS, String appUsername, String nameSpace, Stringclass, String method, Int32 enumPriority)
at DHCS.BH.Provider.WebApp.Filters.BHPRVAuthorizeAttribute.LoadUserAuthorizationDetails(AuthorizationContext filterContext, String userName)
at DHCS.BH.Provider.WebApp.Filters.BHPRVAuthorizeAttribute.OnAuthorization(AuthorizationContext filterContext)
at System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.<BeginInvokeAction>b__0(AsyncCallback asyncCallback, Object asyncState)
Error Controller: LegalEntity
Error Action: ListLegalEntities
I read online, they are suggesting to implement the WCF Extension class, but I am not in a stage to change the whole process or architecture again, is there any other solution that can help me please or is it really failing because of the timeout, any help a code snippet, a link or even a suggestion helps me a lot - thanks in advance my friends.
Is there anyway how can I find what is the Problem that I am having on Server Side, because the exception doesn't give me any specific reason to fix the problem. Please any help would be great-full my friend - thanks in advance.
We have an IIS server that is hosting multiple web applications. Once in a blue moon the odd pool gets jammed up and needs to be manually recycled which means we currently have to RD into the server, open IIS - find the pool, right click etc.
We want to develop a web page that lists all the pools and allows us to click a recycle button.
Is that possible and if so does anyone know how to do it ?
Thank you. We tried that and we have it working on a local PC server but when we move it to a regular Windows Server we get a permissions error. We have IIS_IUSRS full control and we still get the same error on the server. Are we missing some other sort of permission ?
We get this ................
Filename: redirection.config Error: Cannot read configuration file due to insufficient permissions
at Microsoft.Web.Administration.Interop.IAppHostAdminManager.GetAdminSection(String bstrSectionName, String bstrPath) at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath) at Microsoft.Web.Administration.ServerManager.SitesSectionCreator() at Microsoft.Web.Administration.Lazy.Initialize[T](T& target, CreateInstanceDelegate`1 valueFactory) at Microsoft.Web.Administration.ServerManager.get_SitesSection() at Microsoft.Web.Administration.ServerManager.SitesCollectionCreator() at Microsoft.Web.Administration.Lazy.Initialize[T](T& target, CreateInstanceDelegate`1 valueFactory) at Microsoft.Web.Administration.ServerManager.get_Sites() at RefreshAppPool.Controllers.HomeController.GetApplicationPool()
I wish to create a Asp.net web application that will control (Allow/Deny) access to certain pages based on which Group the User is a member of in a already existing Active Directory Setup on our network(e.g. if the user is Member of "Accounts" Group they will only see Accounting pages).
How will I be able to implement this after creating a new ASP.NET application(project)?
I only know that there is a "Change Authentication" option when creating the solution, but how would I proceed from there?
After that, how would I reference the user's Group value to control page access?
Hi out there,
I am working on Ajax Tab and come across many CSS for Ajax tab.
One of the thing which I do not see people mention if how to CSS a tab panel when it is disabled.
I do see CSS for active, normal, hover but nothing for disabled.
When I what to disable the tab, I use server code: "tabID.Enabled = false"
Yes, the tab is disabled, but I like change the text color to something else, say grey. Currently, it always showed as if normal.
Hi I have a web API and it returns IEnumerable<classa>. ClassA is a wrapper collections of ClassB and ClassC (as child property). If ClassB and ClassC has count 0, I can able to get data in my client from Web API. When Class B has value (greater than count 0), I get error "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host". I am working in VS 2017 and .Net Core 2.0 Please advise
I want to create a report with Group, like for example, all students of a School, then every class becomes a group, it displays only once for every group then each student information will be displayed in one row. When Class 1 finishes Class 2 starts but only once in the group. But Group (Class name) will be first column and rest follows in the same order, it looks like nothing but a query result but only thing is in query result for every record Group repeats but here Group should come only in the beginning of the group.
I am using stored procedure and Dataset to load the report, any help would be greatly helpful, a suggestion, code snippet or even a link helps a lot thanks in advance.
I created a report and getting it displayed using ReportViewerForMvc, but I want to set its height, I tried in the below way by trying to set in the code of the Controller Action method but still its height is not set to the limit I want to set it to. Any help would be greatly helpful, thanks in advance.
If I don't set it the report may have gap after the content or it may exceed the width etc, is there any way just to set the width to the full content width but height has limit, I am not sure but if anybody can give me a better solution, it would a great help.
I wish to create a database-driven website in ASP.NET for a non-profit project validating election results in South Africa. I have extensive SharePoint experience, but licensing makes that a non-starter.
I can work in C# and Visual Studio, but have little experience building websites from scratch. I need to build a site that can accept data entry from multiple users, and also carry out large numbers of SQL queries. The site must be responsive from the outset.
Is there a website template I can use for Visual Studio, or would an ASP.NET CMS like Umbraco be best for me? I have not used MVC, but am familiar with coding in forms.
I would appreciate any comments and suggestions. This is a private initiative, and is being done part-time, and I want to concentrate on the database design and querying more than creating a good website framework.