Git Product home page Git Product logo

phone-paradise's People

Contributors

aqeelahmed12 avatar frizzle15 avatar llydiatt avatar no3mc avatar talhamemon25 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

phone-paradise's Issues

Error in DisplayStocks

Describe the bug
A clear and concise description of what the bug is.

Expected behavior
Shouldn't show any error and the expected code should be:
image

Screenshots
image
image

image

Additional context
Tested on Horizon DMU Labs and own laptop.

Exception

Describe the bug
Test method PhoneSystemTesting.tstCustomerCollection.AddMethodOK threw exception:
System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK__tblCust__049E3A8989A07B39'. Cannot insert duplicate key in object 'dbo.tblCust'. The duplicate key value is (111).

Error Message:

Test method PhoneSystemTesting.tstCustomerCollection.AddMethodOK threw exception:
System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK__tblCust__049E3A8989A07B39'. Cannot insert duplicate key in object 'dbo.tblCust'. The duplicate key value is (111).
The statement has been terminated.
The 'sproc_tblCust_Insert' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead.

To Reproduce
Enter any int still it won't work. Even if the key is new and non-existent.

Expected behavior
Should've passed instead of failing.

Screenshots
image
image

Additional context
Tested on VMware horizon Game Development remote pc

2 Failed Tests (FindMethodOK, TestStockIDFound)

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Test'
  2. Click on 'Run All Tests'
  3. Check 'Test Explorer'
  4. See error

Expected behavior
The test should've passed according to week 21.

Screenshots
image

Additional context
Tested on Horizon DMU Desktops and on own laptop.

SQL connection error

Describe the bug
System.Net.WebException HResult=0x80131509 Message=Unable to connect to the remote server Source=System StackTrace: at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at System.Net.WebClient.DownloadString(String address) at PSSClasses.clsDataConnection.GetConnectionString() in H:\Desktop\Repos\PSS\Phone Selling System\PSSClasses\clsDataConnection.cs:line 34 at PSSClasses.clsDataConnection..ctor() in H:\Desktop\Repos\PSS\Phone Selling System\PSSClasses\clsDataConnection.cs:line 28 at PSSClasses.clsStock.Find(Int32 StockID) in H:\Desktop\Repos\PSS\Phone Selling System\PSSClasses\Stock\clsStock.cs:line 36 at PhoneSystemTesting.tstStock.FindMethodOK() in H:\Desktop\Repos\PSS\Phone Selling System\PhoneSystemTesting\Stock\tstStock.cs:line 174 This exception was originally thrown at this call stack: [External Code] Inner Exception 1: SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:5000

To Reproduce
Steps to reproduce the behavior:

Expected behavior
Should be able to connect to the database.

Screenshots
image

Additional context
Tested on VMware Horizon Client.

Compiler Language issue

Describe the bug
Severity Code Description Project File Line Suppression State
Error The CodeDom provider type "Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be located. H:\Desktop\Repos\PSS\Phone Selling System\PSSFrontOffice\Web.config 14

To Reproduce
Steps to reproduce the behavior:

  1. Set Default startup project 'PSSFrontOffice'
  2. Set Default startup web 'AStock'
  3. Run the 'Application's front office page'
  4. See error

Expected behavior
Starting the application at first works fine and it should works fine doesn't matter the tries. But it fails to executes properly after the first successful try. The error is with c# compilation. It should works properly fine.

Screenshots
Error at second try:
image
image
Works fine on first try:
image

Additional context
The issue is faced only on VMware Horizon Client.

Suppression State Error

Describe the bug
Severity Code Description Project File Line Suppression State
Error 'ASP.stock_stockmain_aspx' does not contain a definition for 'Button1_Click' and no extension method 'Button1_Click' accepting a first argument of type 'ASP.stock_stockmain_aspx' could be found (are you missing a using directive or an assembly reference?) C:\Users\haide\Desktop\Project Management and Development\PSS\Phone Selling System\PSSFrontOffice\Stock\StockMain.aspx 49

To Reproduce
Steps to reproduce the behavior:

  1. Remove (Even without any bindings) 'button1_click'
  2. Click on 'run'
  3. Scroll down to 'error list'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image.

Additional context
Tested on both Vmware Horizon Client and my laptop

Stuck on pushing

Describe the bug
Error in pushing branch

To Reproduce
Steps to reproduce the behavior:
Clicking on commit and push

Expected behavior
User should be able to commit and push easily.

Screenshots
image.

Version:
VS 2019

Additional context
After restarting it was still unable to push nor it could sync.

No definition for SelectedIndexChanged

Describe the bug
Error in OnSelectedIndexChanged="lstStocks_SelectedIndexChanged".

To Reproduce
Steps to reproduce the behavior:

  1. Add list box '<asp:ListBox ID="lstStocks" runat="server" Height="300px" OnSelectedIndexChanged="lstStocks_SelectedIndexChanged" Width="517px"></asp:ListBox>'
  2. Run application 'The error will be shown and the application won't be able to run'
  3. See error

Removing OnSelectedIndexChanged="lstStocks_SelectedIndexChanged will fix the error but won't function

Expected behavior
There shouldn't be any error.

Screenshots
image

Additional context
Severity Code Description Project File Line Suppression State
Error 'ASP.stock_astock_aspx' does not contain a definition for 'lstStocks_SelectedIndexChanged' and no extension method 'lstStocks_SelectedIndexChanged' accepting a first argument of type 'ASP.stock_astock_aspx' could be found (are you missing a using directive or an assembly reference?) C:\Users\Desktop\Project Management and Development\PSS\Phone Selling System\PSSFrontOffice\Stock\AStock.aspx 72

ValidMethodOK Test Failed

ValidMethodOK
Source: tstPhone.cs line 33
Duration: 4 ms

Message:
Assert.AreEqual failed. Expected:<There were the following errors : The Display Size can't be more than 5 charactersDate added is not valid. >. Actual:<>.

Stack Trace:
tstPhone.ValidMethodOK() line 39

Unsure of how to fix this

Connection listener issue.

Describe the bug
Failed to listen on prefix 'http://localhost:5000/' because it conflicts with an existing registration on the machine.
at System.Net.HttpListener.AddAllPrefixes()

To Reproduce
Run SqlConnect

Expected behavior
Should be able to connect
image

Screenshots
image

Desktop (please complete the following information):
VMware Horizon SQL Connect

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.