Why does the report viewer control return rsAccessDenied when accessed by domain name?
I'm building an ASP .NET web application that contains a viewer for SQL Server reports. The viewer is supplied by the Microsoft.ReportingServices.ReportViewerControl.WebForms package. When connecting using localhost the report appears fine, but when…
Conversion from type 'DataRowView' to type 'String' is not valid
I have looked at some helpful tips generated based on Title but none has helped with the issue that I am having. When we run the code below, we keep getting error: Conversion from type 'DataRowView' to type 'String' is not valid I am lost as to what to…
ASPX Web page Calendar will not show the top < Month > bar
Dragging in a simple calendar from the tool box (Vb not C#), I cannot seem to get the top < Month> bar to show on the calendar. Am I missing an Import code or web.config file code that tells this calendar what month this is? Never had this problem…
How to deploy outlook template after insert data and use data info in subject and body
hi All... I have some question here. 1 have text box, drop down, check box and a button. Data Input TxtBox Data Input : Animal Drop down Input : Veterinar Dept Button check box on : send email Button to insert data When I click Button and check on, data…
asp core action can not receive complex DTO as parameter
hi. i have bunch of action handlers that receive DTo as parameter. when i want to read the parameter i figure out hte nested object is exist but all of its fields are null or default value. the problem also exist on the returning value to the client. the…
How do you impersonate as a different user/service id and then try and connect to sql server using windows authentication?
This is my connection string Data Source =server;Initial Catalog=Database;Trusted_Connection=True;MultipleActiveResultSet=true;Integrated Security=SSPI; After establishing the connection string I am trying to test connection and here instead of it…
System.NullReferenceException: 'Object reference not set to an instance of an object.' when trying to run new View.
Can someone please have a look at my code and help me understand why I'm getting this error? I have set up a controller and model, but when trying to run this view I get this error.
converting a text to an image
I am trying to convert a text to an image. When I see the converted image, the font family is changed. This is my code that works fine on my localhost, but when I deploy the code to the server. The font family family that I specified in the image…
Javascript issue
Hi, It is showing "undefined" to the 1st column and can you help and check the project below? https://1drv.ms/u/s!Ai8CrEskdewXykrPvEzLNAv4XY7Z?e=CAEWAW
ID Card Template: Set background image of Card by clicking an image in Imagebutton in DataList
I have DataList that shows images from database; the images are contained in an Imagebutton. I also have a card on the web page, the card has labels and image controls. I want to be able to click on any of the Imagebuttons, and pass the clicked image as…
angular loop form problem
HI so i am trying to develop an attendance system in asp.net core web api and angular as front end now ill provide the code first First the form: <form [formGroup]="attendanceForm" (ngSubmit)="onSubmit()"> <section…
Report Wizard missing in VS2022
In VS2022 I downloaded and installed the Microsoft RDLC Report Designer 2022 but I still can't find the report.
Reading form fields after submit (POST) in Blazor Server?
I have a login form in Blazor Server App and use POST to send login data (email and password). <form id="LoginForm" Model="LoginModel" action="cookie" method="post"> …
DBContext is not found in adding view scaffolding
DB context class is not displaying in scaffolding
Microsoft.WindowsAzure.Storage.StorageException: 'Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.'
Hi, I'm trying to upload a file to a blob storage using Access keys Here is my code: // Retrieve storage account from connection string. CloudStorageAccount storageAccount =…
Exapand glyphicon-plus glyphicon-plus when collapsed on button click
I have a page with bootstrap glyphicon-plus glyphicon-minus in a span with a class. when the page loads the span is collapsed by default and I need to Expand it on a button click programmatically. I am doing $("#btn-search").click(function…
How do I toggle between Portrait and Landscape card using custom toggle button
Hello forum, I recently created a toggle button to help toggle between landscape and portrait mode of bootstrap card, before user can print. Please how can I make the toggle button I created to change the orientation of the card? I have no idea how to do…
How do I dynamically replace value in razor syntax based on selectedIndex in dropdown
I have an CSHTML View that has a dropdownlist. In the OnChange event I'm calling reportchange(this) which calls my function reportchange. How can I dynamically use the selectedIndex, this code doesn't work because the Razor code errors out with the…
using custom font inside C# .net core application
I have the following code in my C# application that coverts text to image. In this code, I am using a custom font. I am specifying the path of the custom font, the custom font resides in my wwwroot folder. below is the code where I am using custom…
Forecasitng in .net web applications
Hello , I'm asking is it possible to work on the aspect of forecasting in .net web application ?